2020-02-22 01:16:39 -06:00
|
|
|
error: expected one of `!` or `::`, found `=`
|
|
|
|
--> $DIR/issue-21153.rs:2:10
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2020-02-22 01:16:39 -06:00
|
|
|
LL | trait MyTrait<T>: Iterator {
|
|
|
|
| - while parsing this item list starting here
|
|
|
|
LL | Item = T;
|
|
|
|
| ^ expected one of `!` or `::`
|
|
|
|
LL |
|
|
|
|
LL | }
|
|
|
|
| - the item list ends here
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|