]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-impl-as-identifier.stderr
Rollup merge of #63999 - GuillaumeGomez:as-ref-missing-links, r=Mark-Simulacrum
[rust.git] / src / test / ui / parser / keyword-impl-as-identifier.stderr
1 error: expected identifier, found keyword `impl`
2   --> $DIR/keyword-impl-as-identifier.rs:4:9
3    |
4 LL |     let impl = "foo";
5    |         ^^^^ expected identifier, found keyword
6 help: you can escape reserved keywords to use them as identifiers
7    |
8 LL |     let r#impl = "foo";
9    |         ^^^^^^
10
11 error: aborting due to previous error
12