We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4b1e2a commit e0655a0Copy full SHA for e0655a0
src/test/parse-fail/trait-object-polytrait-priority.rs
@@ -13,7 +13,6 @@ trait Trait<'a> {}
13
fn main() {
14
let _: &for<'a> Trait<'a> + 'static;
15
//~^ ERROR expected a path on the left-hand side of `+`, not `& for<'a>Trait<'a>`
16
- //~| NOTE expected a path
17
//~| HELP try adding parentheses
18
//~| SUGGESTION &( for<'a>Trait<'a> + 'static)
19
}
0 commit comments