summary refs log tree commit diff
path: root/src/test/ui/self-impl.stderr
blob: e1be5c18a6870189a087d5e1b5f68b8b60a48a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0223]: ambiguous associated type
  --> $DIR/self-impl.rs:33:16
   |
33 |         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
   |
35 |         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