]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/issues/issue-44406.stderr
Rollup merge of #92399 - Veeupup:fix_vec_typo, r=Dylan-DPC
[rust.git] / src / test / ui / parser / issues / issue-44406.stderr
index 61419040b3381419c541dffc7ef7cd65714bb5bd..2f85d8cd8656bac5ba0c57e8bea44334640b7f4d 100644 (file)
@@ -4,10 +4,10 @@ error: expected identifier, found keyword `true`
 LL |     foo!(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 |     foo!(r#true);
-   |          ~~~~~~
+   |          ++
 
 error: invalid `struct` delimiters or `fn` call arguments
   --> $DIR/issue-44406.rs:3:9