rust/tests/ui/parser/issues/issue-21153.rs
2023-01-11 09:32:08 +00:00

7 lines
113 B
Rust

trait MyTrait<T>: Iterator {
Item = T;
//~^ ERROR expected one of `!` or `::`, found `=`
}
fn main() {}