]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/use-as-where-use-ends-with-mod-sep.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / parser / use-as-where-use-ends-with-mod-sep.stderr
index c73e17d2fc9af64f8c67fe6836c3689342686354..192ab5eb7f9654142b42c13b78208ca5af187c92 100644 (file)
@@ -3,17 +3,12 @@ error: expected identifier, found keyword `as`
    |
 LL | use std::any:: as foo;
    |                ^^ expected identifier, found keyword
-   |
-help: you can escape reserved keywords to use them as identifiers
-   |
-LL | use std::any:: r#as foo;
-   |                ^^^^
 
 error: expected one of `::`, `;`, or `as`, found `foo`
   --> $DIR/use-as-where-use-ends-with-mod-sep.rs:1:19
    |
 LL | use std::any:: as foo;
-   |                   ^^^ expected one of `::`, `;`, or `as` here
+   |                   ^^^ expected one of `::`, `;`, or `as`
 
 error: aborting due to 2 previous errors