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