38d4ac7cea
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
23 lines
833 B
Plaintext
23 lines
833 B
Plaintext
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
|
|
--> $DIR/cfg_attr_rustfmt.rs:16:5
|
|
|
|
|
LL | #[cfg_attr(rustfmt, rustfmt::skip)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
|
|
|
|
|
= note: `-D clippy::deprecated-cfg-attr` implied by `-D warnings`
|
|
|
|
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
|
|
--> $DIR/cfg_attr_rustfmt.rs:20:1
|
|
|
|
|
LL | #[cfg_attr(rustfmt, rustfmt_skip)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
|
|
|
|
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
|
|
--> $DIR/cfg_attr_rustfmt.rs:26:5
|
|
|
|
|
LL | #![cfg_attr(rustfmt, rustfmt_skip)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#![rustfmt::skip]`
|
|
|
|
error: aborting due to 3 previous errors
|
|
|