2018-08-08 12:28:26 +00:00
error[E0603]: constant `baz` is private
2018-12-25 15:56:47 +00:00
--> $DIR/macro-local-data-key-priv.rs:8:10
2018-08-08 12:28:26 +00:00
|
LL | bar::baz.with(|_| ());
2020-03-22 22:36:54 +00:00
| ^^^ private constant
2020-01-12 13:04:03 +00:00
|
note: the constant `baz` is defined here
--> $DIR/macro-local-data-key-priv.rs:4:5
|
LL | thread_local!(static baz: f64 = 0.0);
2021-10-14 18:28:28 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2022-06-21 02:25:52 +00:00
= note: this error originates in the macro `$crate::__thread_local_inner` which comes from the expansion of the macro `thread_local` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-08 12:28:26 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0603`.