blob: 85568f0fe1b18a42d185be22ba797a5fe5e0b2b6 [file] [log] [blame]
#![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 `+`
//~| HELP try adding parentheses
}