]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/resolve-variant-assoc-item.stderr
clarify what the item is in "not a module" error
[rust.git] / src / test / ui / resolve / resolve-variant-assoc-item.stderr
index 173976d707c70cc0569d65ef624892fbdef00ff7..4be1019968bcc7c7b20192bfe24a6e3ec231bc34 100644 (file)
@@ -1,14 +1,14 @@
-error[E0433]: failed to resolve: not a module `V`
+error[E0433]: failed to resolve: `V` is a variant, not a module
   --> $DIR/resolve-variant-assoc-item.rs:5:8
    |
 LL |     E::V::associated_item;
-   |        ^ not a module `V`
+   |        ^ `V` is a variant, not a module
 
-error[E0433]: failed to resolve: not a module `V`
+error[E0433]: failed to resolve: `V` is a variant, not a module
   --> $DIR/resolve-variant-assoc-item.rs:6:5
    |
 LL |     V::associated_item;
-   |     ^ not a module `V`
+   |     ^ `V` is a variant, not a module
 
 error: aborting due to 2 previous errors