]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-where-as-identifier.stderr
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / ui / parser / keyword-where-as-identifier.stderr
1 error: expected identifier, found keyword `where`
2   --> $DIR/keyword-where-as-identifier.rs:4:9
3    |
4 LL |     let where = "foo";
5    |         ^^^^^ expected identifier, found keyword
6    |
7 help: escape `where` to use it as an identifier
8    |
9 LL |     let r#where = "foo";
10    |         ++
11
12 error: aborting due to previous error
13