summary refs log tree commit diff
path: root/src/test/ui/deprecation/atomic_initializers.stderr
blob: 77c370814f7afa7c77e7d00d9f94c598c3f7509c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
   |                           ^^^^^^^^^^^^^^^^^
   |
   = note: #[warn(deprecated)] on by default
help: use of deprecated item 'std::sync::atomic::ATOMIC_ISIZE_INIT': the `new` function is now preferred
   |
LL | static FOO: AtomicIsize = AtomicIsize::new(0);
   |                           ^^^^^^^^^^^^^^^^^^^