rust/src/test/ui/parser/issue-68890.rs
2020-03-10 08:35:23 +01:00

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