fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
493 B14 linesraw
1warning: use of deprecated constant `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   |                           ^^^^^^^^^^^^^^^^^
6   |
7   = note: `#[warn(deprecated)]` on by default
8help: replace the use of the deprecated constant
9   |
10LL | static FOO: AtomicIsize = AtomicIsize::new(0);
11   |                           ~~~~~~~~~~~~~~~~~~~
12
13warning: 1 warning emitted
14