blob: a21128cb92c050934d735b2bf2c335ec313527d5 [file] [log] [blame] [edit]
//@ edition:2015..2021
#![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
}