2024-02-14 10:51:45 -06:00
|
|
|
error: `feature = "cargo-clippy"` was replaced by `clippy`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/cfg_attr_cargo_clippy.rs:5:12
|
2024-02-14 10:51:45 -06:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(feature = "cargo-clippy", derive(Debug))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy`
|
|
|
|
|
|
|
|
|
= note: `-D clippy::deprecated-clippy-cfg-attr` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::deprecated_clippy_cfg_attr)]`
|
|
|
|
|
|
|
|
error: `feature = "cargo-clippy"` was replaced by `clippy`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/cfg_attr_cargo_clippy.rs:6:16
|
2024-02-14 10:51:45 -06:00
|
|
|
|
|
|
|
|
LL | #[cfg_attr(not(feature = "cargo-clippy"), derive(Debug))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy`
|
|
|
|
|
|
|
|
error: `feature = "cargo-clippy"` was replaced by `clippy`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/cfg_attr_cargo_clippy.rs:7:7
|
2024-02-14 10:51:45 -06:00
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "cargo-clippy")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy`
|
|
|
|
|
|
|
|
error: `feature = "cargo-clippy"` was replaced by `clippy`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/cfg_attr_cargo_clippy.rs:8:11
|
2024-02-14 10:51:45 -06:00
|
|
|
|
|
|
|
|
LL | #[cfg(not(feature = "cargo-clippy"))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy`
|
|
|
|
|
|
|
|
error: `feature = "cargo-clippy"` was replaced by `clippy`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/cfg_attr_cargo_clippy.rs:9:11
|
2024-02-14 10:51:45 -06:00
|
|
|
|
|
|
|
|
LL | #[cfg(any(feature = "cargo-clippy"))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy`
|
|
|
|
|
|
|
|
error: `feature = "cargo-clippy"` was replaced by `clippy`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/cfg_attr_cargo_clippy.rs:10:11
|
2024-02-14 10:51:45 -06:00
|
|
|
|
|
|
|
|
LL | #[cfg(all(feature = "cargo-clippy"))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy`
|
|
|
|
|
|
|
|
error: `feature = "cargo-clippy"` was replaced by `clippy`
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/cfg_attr_cargo_clippy.rs:3:13
|
2024-02-14 10:51:45 -06:00
|
|
|
|
|
|
|
|
LL | #![cfg_attr(feature = "cargo-clippy", doc = "a")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy`
|
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
|
|
|
|