rust/src/test/ui/error-codes/E0223.stderr

12 lines
347 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0223]: ambiguous associated type
--> $DIR/E0223.rs:14:14
|
2018-02-22 18:42:32 -06:00
LL | let foo: MyTrait::X;
2018-02-07 21:35:35 -06:00
| ^^^^^^^^^^ ambiguous associated type
|
= note: specify the type using the syntax `<Type as MyTrait>::X`
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0223"