2020-02-09 23:01:23 -05:00
|
|
|
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))}
|
2023-11-06 23:19:14 +00:00
|
|
|
| - ^ expected one of `)`, `+`, or `,`
|
|
|
|
| |
|
|
|
|
| while parsing this enum
|
2023-11-07 00:09:33 +00:00
|
|
|
|
|
|
|
|
= help: enum variants can be `Variant`, `Variant = <integer>`, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }`
|
2023-11-06 23:24:42 +00:00
|
|
|
|
|
|
|
error: expected item, found `)`
|
|
|
|
--> $DIR/issue-68890.rs:1:21
|
|
|
|
|
|
|
|
|
LL | enum e{A((?'a a+?+l))}
|
|
|
|
| ^ expected item
|
2023-09-06 09:05:07 +05:30
|
|
|
|
|
2023-11-06 23:24:42 +00:00
|
|
|
= note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
|
2020-02-09 23:01:23 -05:00
|
|
|
|
2023-11-06 23:24:42 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2020-02-09 23:01:23 -05:00
|
|
|
|