1 error: missing `fn`, `type`, `const`, or `static` for item declaration
2 --> $DIR/issue-21153.rs:1:29
4 LL | trait MyTrait<T>: Iterator {
5 | _____________________________^
8 | |____^ missing `fn`, `type`, `const`, or `static`
10 error: aborting due to previous error