mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
17 lines
578 B
Plaintext
17 lines
578 B
Plaintext
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes
|
|
--> $DIR/cfg_attr_lint.rs:8:1
|
|
|
|
|
8 | #[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_lint.rs:14:5
|
|
|
|
|
14 | #![cfg_attr(rustfmt, rustfmt_skip)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#![rustfmt::skip]`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|