summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/parse/trait-path-expected-token.rs
blob: cbb05189201dafceb6072a542bc14971ed197511 (plain)
1
2
3
4
5
6
7
8
trait X {
    type Y<'a>;
}

fn f1<'a>(arg : Box<dyn X<Y = B = &'a ()>>) {}
    //~^ ERROR: expected one of `!`, `(`, `+`, `,`, `::`, `<`, or `>`, found `=`

fn main() {}