]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-path-prelude-fail-1.rs
Rollup merge of #106783 - WaffleLapkin:break-my-ident, r=wesleywiser
[rust.git] / tests / ui / macros / macro-path-prelude-fail-1.rs
1 mod m {
2     fn check() {
3         Vec::clone!(); //~ ERROR failed to resolve: `Vec` is a struct, not a module
4         u8::clone!(); //~ ERROR failed to resolve: `u8` is a builtin type, not a module
5     }
6 }
7
8 fn main() {}