2019-05-28 14:45:27 -04:00
|
|
|
#![allow(bare_trait_objects)]
|
|
|
|
|
|
2017-03-17 00:47:32 +03:00
|
|
|
trait Trait<'a> {}
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
let _: &for<'a> Trait<'a> + 'static;
|
2025-04-15 07:44:24 +02:00
|
|
|
//~^ ERROR expected a path on the left-hand side of `+`
|
2017-03-17 00:47:32 +03:00
|
|
|
//~| HELP try adding parentheses
|
|
|
|
|
}
|