21 lines
487 B
Plaintext
21 lines
487 B
Plaintext
|
error: `?` may only modify trait bounds, not lifetime bounds
|
||
|
--> $DIR/issue-68890.rs:1:11
|
||
|
|
|
||
|
LL | enum e{A((?'a a+?+l))}
|
||
|
| ^
|
||
|
|
||
|
error: expected one of `)`, `+`, or `,`, found `a`
|
||
|
--> $DIR/issue-68890.rs:1:15
|
||
|
|
|
||
|
LL | enum e{A((?'a a+?+l))}
|
||
|
| ^ expected one of `)`, `+`, or `,`
|
||
|
|
||
|
error: expected trait bound, not lifetime bound
|
||
|
--> $DIR/issue-68890.rs:1:11
|
||
|
|
|
||
|
LL | enum e{A((?'a a+?+l))}
|
||
|
| ^^^
|
||
|
|
||
|
error: aborting due to 3 previous errors
|
||
|
|