rustc/tests/ui/stability-attribute/stability-in-private-module.stderr
2024-06-14 12:43:07 +02:00

15 lines
554 B
Plaintext

error[E0603]: module `thread_info` is private
--> $DIR/stability-in-private-module.rs:2:26
|
LL | let _ = std::thread::thread_info::current_thread();
| ^^^^^^^^^^^ -------------- function `current_thread` is not publicly re-exported
| |
| private module
|
note: the module `thread_info` is defined here
--> $SRC_DIR/std/src/thread/mod.rs:LL:COL
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0603`.