]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-in-private-module.stderr
Rollup merge of #89468 - FabianWolff:issue-89358, r=jackh726
[rust.git] / src / test / ui / stability-in-private-module.stderr
1 error[E0603]: module `thread_info` is private
2   --> $DIR/stability-in-private-module.rs:2:26
3    |
4 LL |     let _ = std::thread::thread_info::current_thread();
5    |                          ^^^^^^^^^^^ private module
6    |
7 note: the module `thread_info` is defined here
8   --> $SRC_DIR/std/src/thread/mod.rs:LL:COL
9    |
10 LL | use crate::sys_common::thread_info;
11    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0603`.