]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/keyword-try-as-identifier-edition2018.stderr
Rollup merge of #93354 - sunfishcode:sunfishcode/document-borrowedfd-toowned, r=josht...
[rust.git] / src / test / ui / parser / keyword-try-as-identifier-edition2018.stderr
index 37ba0f27bc241fc4b0f6cfe041f97f67a3432c91..94a106d47d710c273824d7da5804359d63d32b8b 100644 (file)
@@ -4,10 +4,10 @@ error: expected identifier, found reserved keyword `try`
 LL |     let try = "foo";
    |         ^^^ expected identifier, found reserved keyword
    |
-help: you can escape reserved keywords to use them as identifiers
+help: escape `try` to use it as an identifier
    |
 LL |     let r#try = "foo";
-   |         ~~~~~
+   |         ++
 
 error: aborting due to previous error