rust/tests/ui/parser/use-as-where-use-ends-with-...

3 lines
133 B
Rust

use std::any:: as foo; //~ ERROR expected identifier, found keyword `as`
//~^ ERROR: expected one of `::`, `;`, or `as`, found `foo`