]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/keyword-let-as-identifier.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / parser / keyword-let-as-identifier.stderr
CommitLineData
e1599b0c 1error: expected identifier, found keyword `let`
0731742a 2 --> $DIR/keyword-let-as-identifier.rs:4:9
0bf4aa26 3 |
532ac7d7 4LL | let let = "foo";
e1599b0c 5 | ^^^ expected identifier, found keyword
e74abb32 6 |
e1599b0c
XL
7help: you can escape reserved keywords to use them as identifiers
8 |
9LL | let r#let = "foo";
94222f64 10 | ~~~~~
0bf4aa26
XL
11
12error: aborting due to previous error
13