summary refs log tree commit diff
path: root/src/test/ui/parser/issue-68890.rs
blob: a7c5a5e13008aab8f32a4ef0fce4aef0b0af3b60 (plain)
1
2
3
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