Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
resolve
/
resolve-variant-assoc-item.rs
blob: db4fedfb0bdf866b643c8c3897878ebfb8eae7a1 [
file
] [
log
] [
blame
] [
edit
]
enum
E
{
V
}
use
E
::
V
;
fn
main
()
{
E
::
V
::
associated_item
;
//~ ERROR failed to resolve: `V` is a variant, not a module
V
::
associated_item
;
//~ ERROR failed to resolve: `V` is a variant, not a module
}