diff options
Diffstat (limited to 'tests/ui/macros/macro-path-prelude-fail-1.stderr')
-rw-r--r-- | tests/ui/macros/macro-path-prelude-fail-1.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-path-prelude-fail-1.stderr b/tests/ui/macros/macro-path-prelude-fail-1.stderr new file mode 100644 index 000000000..f8377ffb3 --- /dev/null +++ b/tests/ui/macros/macro-path-prelude-fail-1.stderr @@ -0,0 +1,15 @@ +error[E0433]: failed to resolve: `Vec` is a struct, not a module + --> $DIR/macro-path-prelude-fail-1.rs:3:9 + | +LL | Vec::clone!(); + | ^^^ `Vec` is a struct, not a module + +error[E0433]: failed to resolve: `u8` is a builtin type, not a module + --> $DIR/macro-path-prelude-fail-1.rs:4:9 + | +LL | u8::clone!(); + | ^^ `u8` is a builtin type, not a module + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0433`. |