rust/tests/ui/parser/issues/issue-68890.rs
2023-01-11 09:32:08 +00:00

5 lines
168 B
Rust

enum e{A((?'a a+?+l))}
//~^ ERROR `?` may only modify trait bounds, not lifetime bounds
//~| ERROR expected one of `)`, `+`, or `,`
//~| ERROR expected item, found `)`