]> git.proxmox.com Git - rustc.git/blame - src/test/ui/macros/macro-local-data-key-priv.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / macros / macro-local-data-key-priv.stderr
CommitLineData
b7449926 1error[E0603]: constant `baz` is private
0731742a 2 --> $DIR/macro-local-data-key-priv.rs:8:10
8faf50e0 3 |
b7449926 4LL | bar::baz.with(|_| ());
ba9703b0 5 | ^^^ private constant
dfeec247
XL
6 |
7note: the constant `baz` is defined here
8 --> $DIR/macro-local-data-key-priv.rs:4:5
9 |
10LL | thread_local!(static baz: f64 = 0.0);
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74b04a01 12 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
8faf50e0
XL
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0603`.