mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
17 lines
590 B
Plaintext
17 lines
590 B
Plaintext
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
|
|
--> $DIR/cfg_attr_rustfmt.rs:18: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:22:1
|
|
|
|
|
LL | #[cfg_attr(rustfmt, rustfmt_skip)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|