]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-as-as-identifier.stderr
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / parser / keyword-as-as-identifier.stderr
1 error: expected identifier, found keyword `as`
2   --> $DIR/keyword-as-as-identifier.rs:4:9
3    |
4 LL |     let as = "foo";
5    |         ^^ expected identifier, found keyword
6    |
7 help: you can escape reserved keywords to use them as identifiers
8    |
9 LL |     let r#as = "foo";
10    |         ^^^^
11
12 error: aborting due to previous error
13