rust/src/test/ui/parser/issue-21153.stderr

11 lines
325 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: missing `fn`, `type`, or `const` for trait-item declaration
2018-12-25 09:56:47 -06:00
--> $DIR/issue-21153.rs:3:29
2018-10-20 15:36:17 -05:00
|
LL | trait MyTrait<T>: Iterator { //~ ERROR missing `fn`, `type`, or `const`
| _____________________________^
LL | | Item = T;
| |____^ missing `fn`, `type`, or `const`
error: aborting due to previous error