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