rust/src/test/ui/self-impl.stderr

20 lines
608 B
Plaintext
Raw Normal View History

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
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0223"