]> git.lizzy.rs Git - rust.git/blob - 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
1 error[E0433]: failed to resolve: `Vec` is a struct, not a module
2   --> $DIR/macro-path-prelude-fail-1.rs:5:9
3    |
4 LL |         Vec::clone!();
5    |         ^^^ `Vec` is a struct, not a module
6
7 error[E0433]: failed to resolve: `u8` is a builtin type, not a module
8   --> $DIR/macro-path-prelude-fail-1.rs:6:9
9    |
10 LL |         u8::clone!();
11    |         ^^ `u8` is a builtin type, not a module
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0433`.