fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
372 B8 linesraw
1warning: use of deprecated item 'std::sync::atomic::ATOMIC_ISIZE_INIT': the `new` function is now preferred
2  --> $DIR/atomic_initializers.rs:8:27
3   |
4LL | static FOO: AtomicIsize = ATOMIC_ISIZE_INIT;
5   |                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicIsize::new(0)`
6   |
7   = note: `#[warn(deprecated)]` on by default
8