]> git.proxmox.com Git - rustc.git/blob - src/test/ui/generic-associated-types/parse/trait-path-expected-token.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / parse / trait-path-expected-token.rs
1 #![feature(generic_associated_types)]
2
3 trait X {
4 type Y<'a>;
5 }
6
7 fn f1<'a>(arg : Box<dyn X<Y = B = &'a ()>>) {}
8 //~^ ERROR: expected one of `!`, `(`, `+`, `,`, `::`, `<`, or `>`, found `=`
9
10 fn main() {}