]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/keyword-unsafe-as-identifier.stderr
Update upstream source from tag 'upstream/1.60.0+dfsg1'
[rustc.git] / src / test / ui / parser / keyword-unsafe-as-identifier.stderr
1 error: expected identifier, found keyword `unsafe`
2 --> $DIR/keyword-unsafe-as-identifier.rs:4:9
3 |
4 LL | let unsafe = "foo";
5 | ^^^^^^ expected identifier, found keyword
6 |
7 help: escape `unsafe` to use it as an identifier
8 |
9 LL | let r#unsafe = "foo";
10 | ++
11
12 error: aborting due to previous error
13