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