rust/tests/ui/parser/issues/issue-68890.rs

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 `)`