2019-12-01 04:30:04 -06:00
|
|
|
error: missing `fn`, `type`, or `const` for associated-item declaration
|
2019-01-06 09:33:05 -06:00
|
|
|
--> $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 | | Item = T;
|
|
|
|
| |____^ missing `fn`, `type`, or `const`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|