summary refs log tree commit diff
path: root/src/test/ui/hidden-rt-injection.rs
blob: 3ca04f934934ccaa00b54243ea79cd48aee2e402 (plain)
1
2
3
4
5
6
7
8
// This is testing that users can't access the runtime crate.

mod m {
    // The rt has been called both 'native' and 'rt'
    use native; //~ ERROR unresolved import
}

fn main() { }