Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
deprecation
/
atomic_initializers.fixed
blob: d8485ed7da169e552bd41a47f52e74346f3267d7 [
file
] [
log
] [
blame
]
// run-rustfix
// check-pass
#[allow(deprecated, unused_imports)]
use
std
::
sync
::
atomic
::{
AtomicIsize
,
ATOMIC_ISIZE_INIT
};
#[allow(dead_code)]
static
FOO
:
AtomicIsize
=
AtomicIsize
::
new
(
0
);
//~^ WARN use of deprecated item
fn main
()
{}