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

12 lines
303 B
Plaintext
Raw Normal View History

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