about summary refs log tree commit diff
path: root/src/test/ui/deprecation/atomic_initializers.stderr
blob: eaf5c61b440bdca2ceabf81dc106ed86dadcf8d1 (plain)
1
2
3
4
5
6
7
8
9
10
warning: use of deprecated constant `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 constant: `AtomicIsize::new(0)`
   |
   = note: `#[warn(deprecated)]` on by default

warning: 1 warning emitted