fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
400 B10 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
9warning: 1 warning emitted
10