]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/keyword-break-as-identifier.stderr
Merge commit '4bdfb0741dbcecd5279a2635c3280726db0604b5' into clippyup
[rust.git] / src / test / ui / parser / keyword-break-as-identifier.stderr
index 05615b41756b9723c8c3ffcd3a29ff0dbddb6adc..a4535eb40a158a0a53b181b65d7b243dfb67e830 100644 (file)
@@ -4,10 +4,10 @@ error: expected identifier, found keyword `break`
 LL |     let break = "foo";
    |         ^^^^^ expected identifier, found keyword
    |
-help: you can escape reserved keywords to use them as identifiers
+help: escape `break` to use it as an identifier
    |
 LL |     let r#break = "foo";
-   |         ~~~~~~~
+   |         ++
 
 error: aborting due to previous error