about summary refs log tree commit diff
path: root/src/test/ui/macros/macro-path-prelude-fail-1.rs
blob: cd695ca916ea9aac354b35a6533fab14d6afe31c (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(extern_prelude)]

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() {}