]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-68890.stderr
Rollup merge of #88794 - sunfishcode:sunfishcode/try-clone, r=joshtriplett
[rust.git] / src / test / ui / parser / issues / issue-68890.stderr
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))}
11    |               ^ expected one of `)`, `+`, or `,`
12
13 error: expected item, found `)`
14   --> $DIR/issue-68890.rs:1:21
15    |
16 LL | enum e{A((?'a a+?+l))}
17    |                     ^ expected item
18
19 error: aborting due to 3 previous errors
20