blob: e7f085104ae9b45e8cdba2b1705672442fb68ca1 [file] [log] [blame] [edit]
#![allow(bare_trait_objects)]
trait Trait<'a> {}
fn main() {
let _: &for<'a> Trait<'a> + 'static;
//~^ ERROR expected a path on the left-hand side of `+`, not `&for<'a> Trait<'a>`
//~| HELP try adding parentheses
}