summary refs log tree commit diff
path: root/src/test/ui/hidden-rt-injection2.rs
blob: 2af113c05e012d3b6b6f5e9e974f9bd57b5dce67 (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 rt; //~ ERROR unresolved import
}

fn main() { }