]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-68890.rs
Rollup merge of #69031 - Centril:dyntest, r=eddyb
[rust.git] / src / test / ui / parser / issue-68890.rs
1 enum e{A((?'a a+?+l))}
2 //~^ ERROR `?` may only modify trait bounds, not lifetime bounds
3 //~| ERROR expected one of `)`, `+`, or `,`
4 //~| ERROR expected trait bound, not lifetime bound