]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-21153.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / issue-21153.stderr
1 error: missing `fn`, `type`, or `const` for trait-item declaration
2   --> $DIR/issue-21153.rs:1:29
3    |
4 LL |   trait MyTrait<T>: Iterator {
5    |  _____________________________^
6 LL | |     Item = T;
7    | |____^ missing `fn`, `type`, or `const`
8
9 error: aborting due to previous error
10