Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
macros
/
macro-local-data-key-priv.rs
blob: 2e4f88f9aa9d5a16b34a2518f5af7b8ea4822ea4 [
file
] [
log
] [
blame
]
// check that the local data keys are private by default.
mod
bar
{
thread_local
!(
static
baz
:
f64
=
0.0
);
}
fn
main
()
{
bar
::
baz
.
with
(|
_
|
());
//~^ ERROR `baz` is private
}