rust/tests/ui/error-codes/E0223.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
298 B
Plaintext
Raw Normal View History

2018-02-07 19:35:35 -08:00
error[E0223]: ambiguous associated type
--> $DIR/E0223.rs:8:14
2018-02-07 19:35:35 -08:00
|
2018-02-23 03:42:32 +03:00
LL | let foo: MyTrait::X;
2023-10-16 18:25:11 +00:00
| ^^^^^^^^^^ help: use fully-qualified syntax: `<MyStruct as MyTrait>::X`
2018-02-07 19:35:35 -08:00
error: aborting due to previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0223`.