2020-01-06 09:44:52 -06:00
|
|
|
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/cfg_attr_rustfmt.rs:18:5
|
2018-11-02 07:43:16 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | #[cfg_attr(rustfmt, rustfmt::skip)]
|
2018-11-02 07:43:16 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::deprecated-cfg-attr` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::deprecated_cfg_attr)]`
|
2018-11-02 07:43:16 -05:00
|
|
|
|
2020-01-06 09:44:52 -06:00
|
|
|
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/cfg_attr_rustfmt.rs:22:1
|
2018-11-02 07:43:16 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | #[cfg_attr(rustfmt, rustfmt_skip)]
|
2018-11-02 07:43:16 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
|
2018-09-03 08:34:33 -05:00
|
|
|
|
2022-10-23 08:18:45 -05:00
|
|
|
error: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/cfg_attr_rustfmt.rs:41:5
|
2022-10-23 08:18:45 -05:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(rustfmt, rustfmt::skip)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2018-09-03 08:34:33 -05:00
|
|
|
|