2024-02-27 08:25:18 -06:00
|
|
|
error: no need to put clippy lints behind a `clippy` cfg
|
2024-05-29 15:36:11 -05:00
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:4:1
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
LL | #![cfg_attr(clippy, deny(clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `#![deny(clippy::non_minimal_cfg)]`
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
|
|
|
= note: `-D clippy::unnecessary-clippy-cfg` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_clippy_cfg)]`
|
|
|
|
|
|
|
|
error: no need to put clippy lints behind a `clippy` cfg
|
2024-05-29 15:36:11 -05:00
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:6:37
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
LL | #![cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
= note: write instead: `#![deny(clippy::non_minimal_cfg)]`
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
|
|
error: no need to put clippy lints behind a `clippy` cfg
|
2024-05-29 15:36:11 -05:00
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:8:37
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
LL | #![cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
= note: write instead: `#![deny(clippy::non_minimal_cfg)]`
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
|
|
error: no need to put clippy lints behind a `clippy` cfg
|
2024-05-29 15:36:11 -05:00
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:10:1
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
LL | #![cfg_attr(clippy, deny(clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `#![deny(clippy::non_minimal_cfg)]`
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
|
|
error: no need to put clippy lints behind a `clippy` cfg
|
2024-05-29 15:36:11 -05:00
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:13:1
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
LL | #[cfg_attr(clippy, deny(clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `#[deny(clippy::non_minimal_cfg)]`
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
|
|
error: no need to put clippy lints behind a `clippy` cfg
|
2024-05-29 15:36:11 -05:00
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:15:36
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
LL | #[cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
= note: write instead: `#[deny(clippy::non_minimal_cfg)]`
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
|
|
error: no need to put clippy lints behind a `clippy` cfg
|
2024-05-29 15:36:11 -05:00
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:17:36
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
LL | #[cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
= note: write instead: `#[deny(clippy::non_minimal_cfg)]`
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
|
|
error: no need to put clippy lints behind a `clippy` cfg
|
2024-05-29 15:36:11 -05:00
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:19:1
|
2024-02-27 08:25:18 -06:00
|
|
|
|
|
2024-05-29 15:36:11 -05:00
|
|
|
LL | #[cfg_attr(clippy, deny(clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `#[deny(clippy::non_minimal_cfg)]`
|
2024-02-27 08:25:18 -06:00
|
|
|
|
2024-04-18 10:48:52 -05:00
|
|
|
error: duplicated attribute
|
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:8:26
|
|
|
|
|
|
2024-06-13 05:30:48 -05:00
|
|
|
LL | #![cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
2024-04-18 10:48:52 -05:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: first defined here
|
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:6:26
|
|
|
|
|
|
|
|
|
LL | #![cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
help: remove this attribute
|
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:8:26
|
|
|
|
|
|
2024-06-13 05:30:48 -05:00
|
|
|
LL | #![cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
2024-04-18 10:48:52 -05:00
|
|
|
| ^^^^^^^^^
|
|
|
|
= note: `-D clippy::duplicated-attributes` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::duplicated_attributes)]`
|
|
|
|
|
|
|
|
error: duplicated attribute
|
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:17:25
|
|
|
|
|
|
2024-06-13 05:30:48 -05:00
|
|
|
LL | #[cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
2024-04-18 10:48:52 -05:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: first defined here
|
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:15:25
|
|
|
|
|
|
|
|
|
LL | #[cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
help: remove this attribute
|
|
|
|
--> tests/ui/unnecessary_clippy_cfg.rs:17:25
|
|
|
|
|
|
2024-06-13 05:30:48 -05:00
|
|
|
LL | #[cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
2024-04-18 10:48:52 -05:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 10 previous errors
|
2024-02-27 08:25:18 -06:00
|
|
|
|