rust-clippy/tests/ui/blanket_clippy_restriction_lints.rs

11 lines
257 B
Rust
Raw Normal View History

//@compile-flags: -W clippy::restriction
#![warn(clippy::blanket_clippy_restriction_lints)]
//! Test that the whole restriction group is not enabled
#![warn(clippy::restriction)]
#![deny(clippy::restriction)]
#![forbid(clippy::restriction)]
fn main() {}