about summary refs log tree commit diff
path: root/tests/ui/self/self-impl.stderr
blob: 1bda307d0eb3aa8d30f9547ee7f970c14482b2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
error[E0223]: ambiguous associated type
  --> $DIR/self-impl.rs:23:16
   |
LL |         let _: <Self>::Baz = true;
   |                ^^^^^^^^^^^
   |
help: use fully-qualified syntax
   |
LL -         let _: <Self>::Baz = true;
LL +         let _: <Bar as Foo>::Baz = true;
   |

error[E0223]: ambiguous associated type
  --> $DIR/self-impl.rs:25:16
   |
LL |         let _: Self::Baz = true;
   |                ^^^^^^^^^
   |
help: use fully-qualified syntax
   |
LL -         let _: Self::Baz = true;
LL +         let _: <Bar as Foo>::Baz = true;
   |

error: aborting due to 2 previous errors

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