blob: faf36d98f2b3f21630d7fd8ebc2e2eb89991d1e0 [file] [log] [blame]
#![warn(clippy::deprecated_clippy_cfg_attr)]
#![allow(clippy::non_minimal_cfg)]
#![cfg_attr(feature = "cargo-clippy", doc = "a")]
//~^ deprecated_clippy_cfg_attr
#[cfg_attr(feature = "cargo-clippy", derive(Debug))]
//~^ deprecated_clippy_cfg_attr
#[cfg_attr(not(feature = "cargo-clippy"), derive(Debug))]
//~^ deprecated_clippy_cfg_attr
#[cfg(feature = "cargo-clippy")]
//~^ deprecated_clippy_cfg_attr
#[cfg(not(feature = "cargo-clippy"))]
//~^ deprecated_clippy_cfg_attr
#[cfg(any(feature = "cargo-clippy"))]
//~^ deprecated_clippy_cfg_attr
#[cfg(all(feature = "cargo-clippy"))]
//~^ deprecated_clippy_cfg_attr
pub struct Bar;
fn main() {}