Skip to content

Commit e0655a0

Browse files
committed
Fix a parse-fail test
1 parent f4b1e2a commit e0655a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/parse-fail/trait-object-polytrait-priority.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ trait Trait<'a> {}
1313
fn main() {
1414
let _: &for<'a> Trait<'a> + 'static;
1515
//~^ ERROR expected a path on the left-hand side of `+`, not `& for<'a>Trait<'a>`
16-
//~| NOTE expected a path
1716
//~| HELP try adding parentheses
1817
//~| SUGGESTION &( for<'a>Trait<'a> + 'static)
1918
}

0 commit comments

Comments
 (0)