]>
Commit | Line | Data |
---|---|---|
e1599b0c | 1 | error: expected identifier, found keyword `loop` |
0731742a | 2 | --> $DIR/keyword-loop-as-identifier.rs:4:9 |
0bf4aa26 | 3 | | |
532ac7d7 | 4 | LL | let loop = "foo"; |
e1599b0c | 5 | | ^^^^ expected identifier, found keyword |
e74abb32 | 6 | | |
5099ac24 | 7 | help: escape `loop` to use it as an identifier |
e1599b0c XL |
8 | | |
9 | LL | let r#loop = "foo"; | |
5099ac24 | 10 | | ++ |
0bf4aa26 | 11 | |
4b012472 | 12 | error: aborting due to 1 previous error |
0bf4aa26 | 13 |