]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issue-68890.rs
simplify & improve parse_ty_tuple_or_parens
[rust.git] / src / test / ui / parser / issue-68890.rs
index a7c5a5e13008aab8f32a4ef0fce4aef0b0af3b60..bab4ed7f800c5d7dcf32f2c344542703016cb4c7 100644 (file)
@@ -1,4 +1,4 @@
 enum e{A((?'a a+?+l))}
 //~^ ERROR `?` may only modify trait bounds, not lifetime bounds
 //~| ERROR expected one of `)`, `+`, or `,`
-//~| ERROR expected trait bound, not lifetime bound
+//~| ERROR expected item, found `)`