]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/keyword-const-as-identifier.stderr
Change syntax for TyAlias where clauses
[rust.git] / src / test / ui / parser / keyword-const-as-identifier.stderr
index f7efa53a45e2cb92c195df17087c82f4aec710c7..31922f150e538aae45dfcbad88074dd01e61e9e4 100644 (file)
@@ -4,10 +4,10 @@ error: expected identifier, found keyword `const`
 LL |     let const = "foo";
    |         ^^^^^ expected identifier, found keyword
    |
-help: you can escape reserved keywords to use them as identifiers
+help: escape `const` to use it as an identifier
    |
 LL |     let r#const = "foo";
-   |         ~~~~~~~
+   |         ++
 
 error: aborting due to previous error