2024-02-16 16:44:16 +00:00
|
|
|
//@no-rustfix
|
|
|
|
|
|
|
|
#![warn(clippy::unnecessary_clippy_cfg)]
|
|
|
|
#![cfg_attr(clippy, deny(clippy::non_minimal_cfg))]
|
|
|
|
//~^ ERROR: no need to put clippy lints behind a `clippy` cfg
|
|
|
|
#![cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
|
|
|
//~^ ERROR: no need to put clippy lints behind a `clippy` cfg
|
2024-06-01 11:44:13 +00:00
|
|
|
#![cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
2024-02-16 16:44:16 +00:00
|
|
|
//~^ ERROR: no need to put clippy lints behind a `clippy` cfg
|
2024-06-01 11:44:13 +00:00
|
|
|
#![cfg_attr(clippy, deny(clippy::non_minimal_cfg))]
|
2024-02-16 16:44:16 +00:00
|
|
|
//~^ ERROR: no need to put clippy lints behind a `clippy` cfg
|
|
|
|
|
|
|
|
#[cfg_attr(clippy, deny(clippy::non_minimal_cfg))]
|
|
|
|
//~^ ERROR: no need to put clippy lints behind a `clippy` cfg
|
|
|
|
#[cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
|
|
|
//~^ ERROR: no need to put clippy lints behind a `clippy` cfg
|
2024-06-01 11:44:13 +00:00
|
|
|
#[cfg_attr(clippy, deny(dead_code, clippy::non_minimal_cfg))]
|
2024-02-16 16:44:16 +00:00
|
|
|
//~^ ERROR: no need to put clippy lints behind a `clippy` cfg
|
2024-06-01 11:44:13 +00:00
|
|
|
#[cfg_attr(clippy, deny(clippy::non_minimal_cfg))]
|
2024-02-16 16:44:16 +00:00
|
|
|
//~^ ERROR: no need to put clippy lints behind a `clippy` cfg
|
|
|
|
pub struct Bar;
|
|
|
|
|
|
|
|
fn main() {}
|