1 error[E0433]: failed to resolve: use of undeclared type `Vec`
2 --> $DIR/no_implicit_prelude.rs:11:9
4 LL | fn f() { ::bar::m!(); }
5 | ----------- in this macro invocation
8 | ^^^ use of undeclared type `Vec`
10 = note: this error originates in the macro `::bar::m` (in Nightly builds, run with -Z macro-backtrace for more info)
11 help: consider importing this struct
13 LL | use std::vec::Vec;
16 error[E0599]: no method named `clone` found for unit type `()` in the current scope
17 --> $DIR/no_implicit_prelude.rs:12:12
19 LL | fn f() { ::bar::m!(); }
20 | ----------- in this macro invocation
23 | ^^^^^ method not found in `()`
25 = help: items from traits can only be used if the trait is in scope
26 = note: this error originates in the macro `::bar::m` (in Nightly builds, run with -Z macro-backtrace for more info)
27 help: the following trait is implemented but not in scope; perhaps add a `use` for it:
29 LL | use std::clone::Clone;
32 error: aborting due to 2 previous errors
34 Some errors have detailed explanations: E0433, E0599.
35 For more information about an error, try `rustc --explain E0433`.