blob: 8839eed8485f8ccc34d80d18fa9938220dba5bf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error: expected one of `!` or `::`, found `=`
--> $DIR/issue-21153.rs:2:10
|
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
error: aborting due to 1 previous error
|