blob: b552c9cd386594bce2e81793084d6539d14a7c4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error: expected identifier, found keyword `unsafe`
--> $DIR/keyword-unsafe-as-identifier.rs:4:9
|
LL | let unsafe = "foo";
| ^^^^^^ expected identifier, found keyword
|
help: escape `unsafe` to use it as an identifier
|
LL | let r#unsafe = "foo";
| ++
error: aborting due to previous error
|