summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0223.rs
blob: 6031b682d72a035c0310670fc662ede4bcd1fc88 (plain)
1
2
3
4
5
6
trait MyTrait { type X; }

fn main() {
    let foo: MyTrait::X;
    //~^ ERROR ambiguous associated type
}