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