fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0433]: failed to resolve: `V` is a variant, not a module 2 --> $DIR/resolve-variant-assoc-item.rs:5:8 3 | 4LL | E::V::associated_item; 5 | ^ `V` is a variant, not a module 6 | 7help: there is an enum variant `E::V`; try using the variant's enum 8 | 9LL | E; 10 | ~ 11 12error[E0433]: failed to resolve: `V` is a variant, not a module 13 --> $DIR/resolve-variant-assoc-item.rs:6:5 14 | 15LL | V::associated_item; 16 | ^ `V` is a variant, not a module 17 | 18help: there is an enum variant `E::V`; try using the variant's enum 19 | 20LL | E; 21 | ~ 22help: an enum with a similar name exists 23 | 24LL | E::associated_item; 25 | ~ 26 27error: aborting due to 2 previous errors 28 29For more information about this error, try `rustc --explain E0433`.