]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/keyword-let-as-identifier.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / parser / keyword-let-as-identifier.stderr
1 error: expected identifier, found keyword `let`
2 --> $DIR/keyword-let-as-identifier.rs:4:9
3 |
4 LL | let let = "foo";
5 | ^^^ expected identifier, found keyword
6 help: you can escape reserved keywords to use them as identifiers
7 |
8 LL | let r#let = "foo";
9 | ^^^^^
10
11 error: aborting due to previous error
12