rust/src/test/ui/parser/issue-68890.rs

5 lines
184 B
Rust
Raw Normal View History

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