]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/keyword-type-as-identifier.stderr
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
[rust.git] / src / test / ui / parser / keyword-type-as-identifier.stderr
index 1c49811ae5c84980620689d8be95503fc3798b7c..624c1006b12fc41676a273517bf159b3129cc429 100644 (file)
@@ -4,10 +4,10 @@ error: expected identifier, found keyword `type`
 LL |     let type = "foo";
    |         ^^^^ expected identifier, found keyword
    |
-help: you can escape reserved keywords to use them as identifiers
+help: escape `type` to use it as an identifier
    |
 LL |     let r#type = "foo";
-   |         ~~~~~~
+   |         ++
 
 error: aborting due to previous error