summary refs log tree commit diff
path: root/src/test/ui/deprecation/atomic_initializers.stderr
blob: 16db00b6e853a6bc3da11fb39edb963994c58f5a (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