]> git.proxmox.com Git - rustc.git/blob - src/test/ui/deprecation/atomic_initializers.fixed
Update upstream source from tag 'upstream/1.45.0+dfsg1'
[rustc.git] / src / test / ui / deprecation / atomic_initializers.fixed
1 // run-rustfix
2 // check-pass
3
4 #[allow(deprecated, unused_imports)]
5 use std::sync::atomic::{AtomicIsize, ATOMIC_ISIZE_INIT};
6
7 #[allow(dead_code)]
8 static FOO: AtomicIsize = AtomicIsize::new(0);
9 //~^ WARN use of deprecated item
10
11 fn main() {}