fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
488 B15 linesraw
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
7error[E0433]: failed to resolve: `V` is a variant, not a module
8  --> $DIR/resolve-variant-assoc-item.rs:6:5
9   |
10LL |     V::associated_item;
11   |     ^ `V` is a variant, not a module
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0433`.