0baf61bfdb
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
14 lines
338 B
Plaintext
14 lines
338 B
Plaintext
error: expected identifier, found keyword `let`
|
|
--> $DIR/keyword-let-as-identifier.rs:4:9
|
|
|
|
|
LL | let let = "foo";
|
|
| ^^^ expected identifier, found keyword
|
|
|
|
|
help: you can escape reserved keywords to use them as identifiers
|
|
|
|
|
LL | let r#let = "foo";
|
|
| ^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|