]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-93282.stderr
Auto merge of #91403 - cjgillot:inherit-async, r=oli-obk
[rust.git] / src / test / ui / parser / issues / issue-93282.stderr
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
7 error: expected one of `.`, `:`, `;`, `?`, `for`, `loop`, `while`, `{`, `}`, or an operator, found `,`
8   --> $DIR/issue-93282.rs:2:9
9    |
10 LL |     f<'a,>
11    |         ^ expected one of 10 possible tokens
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