summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-93282.stderr
blob: ee554784b3a247c4772751f52a90e21aa338aa4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error: expected `while`, `for`, `loop` or `{` after a label
  --> $DIR/issue-93282.rs:2:9
   |
LL |     f<'a,>
   |         ^ expected `while`, `for`, `loop` or `{` after a label

error: expected one of `.`, `:`, `;`, `?`, `for`, `loop`, `while`, `}`, or an operator, found `,`
  --> $DIR/issue-93282.rs:2:9
   |
LL |     f<'a,>
   |         ^ expected one of 9 possible tokens
   |
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
   |
LL |     f::<'a,>
   |      ++

error: expected `while`, `for`, `loop` or `{` after a label
  --> $DIR/issue-93282.rs:13:11
   |
LL |     bar('y, x);
   |           ^ expected `while`, `for`, `loop` or `{` after a label

error: aborting due to 3 previous errors