rust/tests/ui/parser/misspelled-keywords/match.stderr

14 lines
328 B
Plaintext

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 | match a {}
| ~~~~~
error: aborting due to 1 previous error