// Check that the compiler will resolve `::V` to the variant `V` in the type namespace // but will reject this because `enum` variants do not exist in the type namespace. enum E { V } fn check() -> ::V {} //~^ ERROR expected type, found variant `V` fn main() {}