1 error: expected identifier, found keyword `as`
2 --> $DIR/use-as-where-use-ends-with-mod-sep.rs:3:16
4 LL | use std::any:: as foo; //~ ERROR expected identifier, found keyword `as`
5 | ^^ expected identifier, found keyword
6 help: you can escape reserved keywords to use them as identifiers
8 LL | use std::any:: r#as foo; //~ ERROR expected identifier, found keyword `as`
11 error: expected one of `::`, `;`, or `as`, found `foo`
12 --> $DIR/use-as-where-use-ends-with-mod-sep.rs:3:19
14 LL | use std::any:: as foo; //~ ERROR expected identifier, found keyword `as`
15 | ^^^ expected one of `::`, `;`, or `as` here
17 error: aborting due to 2 previous errors