summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-21153.rs
blob: bf5fdb1f3c6b048195b1e2d76f9e733c8bec0d89 (plain)
1
2
3
4
5
6
trait MyTrait<T>: Iterator {
    Item = T;
    //~^ ERROR expected one of `!` or `::`, found `=`
}

fn main() {}