]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-in-private-module.stderr
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[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`.