fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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