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
--> $DIR/issue-21153.rs:1: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