1 2 3 4 5
trait MyTrait<T>: Iterator { //~ ERROR missing `fn`, `type`, or `const` Item = T; } fn main() {}