about summary refs log tree commit diff
path: root/src/test/ui/deprecation/atomic_initializers.stderr
blob: b009ff9486be2bc17918e0924204f5fb864d646d (plain)
1
2
3
4
5
6
7
8
warning: use of deprecated item 'std::sync::atomic::ATOMIC_ISIZE_INIT': the `new` function is now preferred
  --> $DIR/atomic_initializers.rs:8:27
   |
LL | static FOO: AtomicIsize = ATOMIC_ISIZE_INIT;
   |                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicIsize::new(0)`
   |
   = note: #[warn(deprecated)] on by default