]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/keyword-match-as-identifier.stderr
Change syntax for TyAlias where clauses
[rust.git] / src / test / ui / parser / keyword-match-as-identifier.stderr
index 1ca80dbbd09e43befb10478b0649d52714f6ce5f..25ac397fb7e2e8f15fc3048aaa49ce66e32beb1b 100644 (file)
@@ -4,10 +4,10 @@ error: expected identifier, found keyword `match`
 LL |     let match = "foo";
    |         ^^^^^ expected identifier, found keyword
    |
-help: you can escape reserved keywords to use them as identifiers
+help: escape `match` to use it as an identifier
    |
 LL |     let r#match = "foo";
-   |         ~~~~~~~
+   |         ++
 
 error: aborting due to previous error