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