]> git.proxmox.com Git - rustc.git/blame - tests/ui/parser/keyword-loop-as-identifier.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / parser / keyword-loop-as-identifier.stderr
CommitLineData
e1599b0c 1error: expected identifier, found keyword `loop`
0731742a 2 --> $DIR/keyword-loop-as-identifier.rs:4:9
0bf4aa26 3 |
532ac7d7 4LL | let loop = "foo";
e1599b0c 5 | ^^^^ expected identifier, found keyword
e74abb32 6 |
5099ac24 7help: escape `loop` to use it as an identifier
e1599b0c
XL
8 |
9LL | let r#loop = "foo";
5099ac24 10 | ++
0bf4aa26 11
4b012472 12error: aborting due to 1 previous error
0bf4aa26 13