]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-attribute/stability-in-private-module.stderr
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / stability-attribute / 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 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0603`.