]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/macros/macro-path-prelude-fail-1.stderr
clarify what the item is in "not a module" error
[rust.git] / src / test / ui / macros / macro-path-prelude-fail-1.stderr
index 551d2fe8ce041cb7127d8563ac87ba6caa883c95..b68e89f07f67600c91c5fadd0f74ff15379277ef 100644 (file)
@@ -1,14 +1,14 @@
-error[E0433]: failed to resolve: not a module `Vec`
+error[E0433]: failed to resolve: `Vec` is a struct, not a module
   --> $DIR/macro-path-prelude-fail-1.rs:5:9
    |
 LL |         Vec::clone!();
-   |         ^^^ not a module `Vec`
+   |         ^^^ `Vec` is a struct, not a module
 
-error[E0433]: failed to resolve: not a module `u8`
+error[E0433]: failed to resolve: `u8` is a builtin type, not a module
   --> $DIR/macro-path-prelude-fail-1.rs:6:9
    |
 LL |         u8::clone!();
-   |         ^^ not a module `u8`
+   |         ^^ `u8` is a builtin type, not a module
 
 error: aborting due to 2 previous errors