1 error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
2 --> $DIR/cfg_attr_rustfmt.rs:25:5
4 LL | #[cfg_attr(rustfmt, rustfmt::skip)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
7 = note: `-D clippy::deprecated-cfg-attr` implied by `-D warnings`
9 error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
10 --> $DIR/cfg_attr_rustfmt.rs:29:1
12 LL | #[cfg_attr(rustfmt, rustfmt_skip)]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
15 error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
16 --> $DIR/cfg_attr_rustfmt.rs:35:5
18 LL | #![cfg_attr(rustfmt, rustfmt_skip)]
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#![rustfmt::skip]`
21 error: aborting due to 3 previous errors