rust/tests/ui/suggestions/issue-89640.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

14 lines
341 B
Plaintext

error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `t`
--> $DIR/issue-89640.rs:2:8
|
LL | le t x: i32 = 3;
| ^ expected one of 8 possible tokens
|
help: consider removing the space to spell keyword `let`
|
LL | let x: i32 = 3;
| ~~~
error: aborting due to 1 previous error