Files
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.

27 lines
616 B
Plaintext
Raw Normal View History

2024-09-01 22:27:43 -04: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;
LL + let a = 10;
|
2024-09-01 22:27:43 -04: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 - lett a = 10;
LL + let a = 10;
|
2024-09-01 22:27:43 -04:00
error: aborting due to 2 previous errors