blob: 36917523555b93ca0d03c2f05ac6187f9c4eb3e6 [file] [log] [blame]
error: expected identifier, found keyword `as`
--> $DIR/use-as-where-use-ends-with-mod-sep.rs:3:16
|
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:3:19
|
LL | use std::any:: as foo;
| ^^^ expected one of `::`, `;`, or `as` here
error: aborting due to 2 previous errors