const _: () = { trait X { type Y<'a>; } fn f1<'a>(arg : Box>) {} //~^ ERROR: expected one of }; const _: () = { trait X { type Y<'a>; } trait Z {} impl::Y<'a> = &'a u32>> Z for T {} //~^ ERROR: expected one of }; const _: () = { trait X { type Y<'a>; } trait Z {} impl = &'a u32>> Z for T {} //~^ ERROR: expected one of }; fn main() {}