about summary refs log tree commit diff
path: root/tests/ui/parser/misspelled-keywords/match.stderr
blob: 1ec8f7c3b81c8a4c118d4ca85c46ff02900c0f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `a`
  --> $DIR/match.rs:3:12
   |
LL |     matche a {}
   |            ^ expected one of 8 possible tokens
   |
help: there is a keyword `match` with a similar name
   |
LL -     matche a {}
LL +     match a {}
   |

error: aborting due to 1 previous error