]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-path-prelude-fail-1.rs
clarify what the item is in "not a module" error
[rust.git] / src / test / ui / macros / macro-path-prelude-fail-1.rs
1 #![feature(extern_prelude)]
2
3 mod m {
4     fn check() {
5         Vec::clone!(); //~ ERROR failed to resolve: `Vec` is a struct, not a module
6         u8::clone!(); //~ ERROR failed to resolve: `u8` is a builtin type, not a module
7     }
8 }
9
10 fn main() {}