1 error: expected identifier, found keyword `as`
2 --> $DIR/use-as-where-use-ends-with-mod-sep.rs:1:16
4 LL | use std::any:: as foo;
5 | ^^ expected identifier, found keyword
7 error: expected one of `::`, `;`, or `as`, found `foo`
8 --> $DIR/use-as-where-use-ends-with-mod-sep.rs:1:19
10 LL | use std::any:: as foo;
11 | ^^^ expected one of `::`, `;`, or `as`
13 error: aborting due to 2 previous errors