2018-10-20 23:36:17 +03:00
|
|
|
error: expected identifier, found keyword `as`
|
2019-05-31 13:50:04 -07:00
|
|
|
--> $DIR/use-as-where-use-ends-with-mod-sep.rs:1:16
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | use std::any:: as foo;
|
2018-10-20 23:36:17 +03:00
|
|
|
| ^^ expected identifier, found keyword
|
|
|
|
|
|
|
|
error: expected one of `::`, `;`, or `as`, found `foo`
|
2019-05-31 13:50:04 -07:00
|
|
|
--> $DIR/use-as-where-use-ends-with-mod-sep.rs:1:19
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | use std::any:: as foo;
|
2019-10-28 11:08:53 -07:00
|
|
|
| ^^^ expected one of `::`, `;`, or `as`
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|