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