]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/keyword-impl-as-identifier.stderr
Rollup merge of #93479 - smoelius:master, r=yaahc
[rust.git] / src / test / ui / parser / keyword-impl-as-identifier.stderr
index a7493d2e60ba5fd85fa121e72ddb95b20c4faece..73a50bc38bcf1ee4d2418823c07fbcc6f9d7a0d3 100644 (file)
@@ -4,10 +4,10 @@ error: expected identifier, found keyword `impl`
 LL |     let impl = "foo";
    |         ^^^^ expected identifier, found keyword
    |
-help: you can escape reserved keywords to use them as identifiers
+help: escape `impl` to use it as an identifier
    |
 LL |     let r#impl = "foo";
-   |         ~~~~~~
+   |         ++
 
 error: aborting due to previous error