fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
513 B15 linesraw
1error[E0603]: module `thread_info` is private
2  --> $DIR/stability-in-private-module.rs:7:26
3   |
4LL |     let _ = std::thread::thread_info::current_thread();
5   |                          ^^^^^^^^^^^ this module is private
6   |
7note: the module `thread_info` is defined here
8  --> $SRC_DIR/libstd/thread/mod.rs:LL:COL
9   |
10LL | use crate::sys_common::thread_info;
11   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0603`.