summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/use-as-where-use-ends-with-mod-sep.stderr
blob: 192ab5eb7f9654142b42c13b78208ca5af187c92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: expected identifier, found keyword `as`
  --> $DIR/use-as-where-use-ends-with-mod-sep.rs:1:16
   |
LL | use std::any:: as foo;
   |                ^^ expected identifier, found keyword

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`

error: aborting due to 2 previous errors