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