2017-01-08 16:38:40 +03:00
|
|
|
enum E { V }
|
|
|
|
use E::V;
|
|
|
|
|
|
|
|
fn main() {
|
2019-04-01 16:22:12 -04:00
|
|
|
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
|
2017-01-08 16:38:40 +03:00
|
|
|
}
|