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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
589 B
Plaintext
Raw Normal View History

2024-09-01 21:27:43 -05:00
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `a`
--> $DIR/let.rs:2:9
|
LL | Let a = 10;
| ^ expected one of 8 possible tokens
|
help: write keyword `let` in lowercase
|
LL | let a = 10;
| ~~~
2024-09-01 21:27:43 -05:00
error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `a`
--> $DIR/let.rs:7:10
|
LL | lett a = 10;
| ^ expected one of 8 possible tokens
|
help: there is a keyword `let` with a similar name
|
LL | let a = 10;
| ~~~
2024-09-01 21:27:43 -05:00
error: aborting due to 2 previous errors