]>
Commit | Line | Data |
---|---|---|
5099ac24 FG |
1 | error: expected `while`, `for`, `loop` or `{` after a label |
2 | --> $DIR/issue-93282.rs:2:9 | |
3 | | | |
4 | LL | f<'a,> | |
5 | | ^ expected `while`, `for`, `loop` or `{` after a label | |
6 | ||
923072b8 | 7 | error: expected one of `.`, `:`, `;`, `?`, `for`, `loop`, `while`, `}`, or an operator, found `,` |
5099ac24 FG |
8 | --> $DIR/issue-93282.rs:2:9 |
9 | | | |
10 | LL | f<'a,> | |
923072b8 | 11 | | ^ expected one of 9 possible tokens |
5099ac24 FG |
12 | | |
13 | help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments | |
14 | | | |
15 | LL | f::<'a,> | |
16 | | ++ | |
17 | ||
18 | error: expected `while`, `for`, `loop` or `{` after a label | |
19 | --> $DIR/issue-93282.rs:13:11 | |
20 | | | |
21 | LL | bar('y, x); | |
22 | | ^ expected `while`, `for`, `loop` or `{` after a label | |
23 | ||
24 | error: aborting due to 3 previous errors | |
25 |