summary refs log tree commit diff
path: root/src/test/ui/deprecation/atomic_initializers.stderr
blob: 75baf4a1bf90d7678b9447376875047e0388be3d (plain)
1
2
3
4
5
6
7
8
9
10
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

warning: 1 warning emitted