summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/macro-path-prelude-fail-1.rs
blob: d93792bdfe38d8cd8febba9870ae18f46823b8a4 (plain)
1
2
3
4
5
6
7
8
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() {}