summary refs log tree commit diff
path: root/src/test/ui/self-impl.stderr
blob: a5a5135faad729917c2b86bbbd0b31b7896d3b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0223]: ambiguous associated type
  --> $DIR/self-impl.rs:33:16
   |
LL |         let _: <Self>::Baz = true;
   |                ^^^^^^^^^^^ ambiguous associated type
   |
   = note: specify the type using the syntax `<Bar as Trait>::Baz`

error[E0223]: ambiguous associated type
  --> $DIR/self-impl.rs:35:16
   |
LL |         let _: Self::Baz = true;
   |                ^^^^^^^^^ ambiguous associated type
   |
   = note: specify the type using the syntax `<Bar as Trait>::Baz`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0223`.