fork/rust

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

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

master
913 B23 linesraw
1error: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
2  --> $DIR/cfg_attr_rustfmt.rs:18:5
3   |
4LL |     #[cfg_attr(rustfmt, rustfmt::skip)]
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
6   |
7   = note: `-D clippy::deprecated-cfg-attr` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::deprecated_cfg_attr)]`
9
10error: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
11  --> $DIR/cfg_attr_rustfmt.rs:22:1
12   |
13LL | #[cfg_attr(rustfmt, rustfmt_skip)]
14   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
15
16error: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
17  --> $DIR/cfg_attr_rustfmt.rs:41:5
18   |
19LL |     #[cfg_attr(rustfmt, rustfmt::skip)]
20   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
21
22error: aborting due to 3 previous errors
23