]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/bad-value-ident-true.stderr
Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPC
[rust.git] / src / test / ui / parser / bad-value-ident-true.stderr
index 3eaa6004796cbabede4f97f8386f9bf4b94aa04d..74137fa7001acdab9a8469572539abf5ba459b75 100644 (file)
@@ -4,10 +4,10 @@ error: expected identifier, found keyword `true`
 LL | fn true() { }
    |    ^^^^ expected identifier, found keyword
    |
-help: you can escape reserved keywords to use them as identifiers
+help: escape `true` to use it as an identifier
    |
 LL | fn r#true() { }
-   |    ~~~~~~
+   |    ++
 
 error: aborting due to previous error