summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/use-as-where-use-ends-with-mod-sep.rs
blob: b4bb484182466f34774171fde6c02d11cf59d094 (plain)
1
2
use std::any:: as foo; //~ ERROR expected identifier, found keyword `as`
//~^ ERROR: expected one of `::`, `;`, or `as`, found `foo`