2018-08-08 07:28:26 -05:00
|
|
|
error[E0603]: constant `baz` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/macro-local-data-key-priv.rs:8:10
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | bar::baz.with(|_| ());
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^ private constant
|
2020-01-12 07:04:03 -06: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-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `$crate::__thread_local_inner` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|