1 error: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
2 --> $DIR/cfg_attr_rustfmt.rs:18: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:22:1
12 LL | #[cfg_attr(rustfmt, rustfmt_skip)]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
15 error: aborting due to 2 previous errors