]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-local-data-key-priv.rs
Pin panic-in-drop=abort test to old pass manager
[rust.git] / src / test / ui / macros / macro-local-data-key-priv.rs
1 // check that the local data keys are private by default.
2
3 mod bar {
4     thread_local!(static baz: f64 = 0.0);
5 }
6
7 fn main() {
8     bar::baz.with(|_| ());
9     //~^ ERROR `baz` is private
10 }