]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-21153.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-21153.stderr
1 error: expected one of `!` or `::`, found `=`
2   --> $DIR/issue-21153.rs:2:10
3    |
4 LL | trait MyTrait<T>: Iterator {
5    |                            - while parsing this item list starting here
6 LL |     Item = T;
7    |          ^ expected one of `!` or `::`
8 LL |
9 LL | }
10    | - the item list ends here
11
12 error: aborting due to previous error
13