blob: 40d2ad52c3574f3ffbad6267e0742ceaed226405 [file] [log] [blame]
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
//~| SUGGESTION &(for<'a> Trait<'a> + 'static)
}