rust/tests/ui/macros/macro-path-prelude-fail-1.rs
2023-01-11 09:32:08 +00:00

9 lines
219 B
Rust

mod m {
fn check() {
Vec::clone!(); //~ ERROR failed to resolve: `Vec` is a struct, not a module
u8::clone!(); //~ ERROR failed to resolve: `u8` is a builtin type, not a module
}
}
fn main() {}