2017-12-10 13:47:55 -06:00
|
|
|
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
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/self-impl.rs:35:16
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2017-12-10 14:29:24 -06:00
|
|
|
35 | let _: Self::Baz = true;
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^^^^^ 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"
|