]> git.proxmox.com Git - rustc.git/blame - tests/ui/parser/issues/issue-68890.stderr
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / tests / ui / parser / issues / issue-68890.stderr
CommitLineData
74b04a01
XL
1error: `?` may only modify trait bounds, not lifetime bounds
2 --> $DIR/issue-68890.rs:1:11
3 |
4LL | enum e{A((?'a a+?+l))}
5 | ^
6
7error: expected one of `)`, `+`, or `,`, found `a`
8 --> $DIR/issue-68890.rs:1:15
9 |
10LL | 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
17error: expected item, found `)`
18 --> $DIR/issue-68890.rs:1:21
74b04a01
XL
19 |
20LL | 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
25error: aborting due to 3 previous errors
26