mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
22 lines
833 B
Text
22 lines
833 B
Text
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
|
|
--> $DIR/cfg_attr_rustfmt.rs:25:5
|
|
|
|
|
25 | #[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:29:1
|
|
|
|
|
29 | #[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:35:5
|
|
|
|
|
35 | #![cfg_attr(rustfmt, rustfmt_skip)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#![rustfmt::skip]`
|
|
|
|
error: aborting due to 3 previous errors
|
|
|