]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | error: `?` may only modify trait bounds, not lifetime bounds |
2 | --> $DIR/issue-68890.rs:1:11 | |
3 | | | |
4 | LL | enum e{A((?'a a+?+l))} | |
5 | | ^ | |
6 | ||
7 | error: expected one of `)`, `+`, or `,`, found `a` | |
8 | --> $DIR/issue-68890.rs:1:15 | |
9 | | | |
10 | LL | enum e{A((?'a a+?+l))} | |
4b012472 FG |
11 | | - ^ expected one of `)`, `+`, or `,` |
12 | | | | |
13 | | while parsing this enum | |
14 | | | |
15 | = help: enum variants can be `Variant`, `Variant = <integer>`, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` | |
74b04a01 | 16 | |
ba9703b0 XL |
17 | error: expected item, found `)` |
18 | --> $DIR/issue-68890.rs:1:21 | |
74b04a01 XL |
19 | | |
20 | LL | enum e{A((?'a a+?+l))} | |
ba9703b0 | 21 | | ^ expected item |
781aab86 FG |
22 | | |
23 | = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html> | |
74b04a01 XL |
24 | |
25 | error: aborting due to 3 previous errors | |
26 |