rust/src/test/ui/stability-in-private-module.rs

5 lines
116 B
Rust

fn main() {
let _ = std::thread::thread_info::current_thread();
//~^ERROR module `thread_info` is private
}