2023-04-23 11:03:09 +00:00
|
|
|
//@compile-flags: -W clippy::restriction
|
2022-11-21 19:34:47 +00:00
|
|
|
|
2020-10-09 10:45:29 +00:00
|
|
|
#![warn(clippy::blanket_clippy_restriction_lints)]
|
|
|
|
|
|
|
|
//! Test that the whole restriction group is not enabled
|
|
|
|
#![warn(clippy::restriction)]
|
2023-08-24 19:32:12 +00:00
|
|
|
//~^ ERROR: `clippy::restriction` is not meant to be enabled as a group
|
2020-10-09 10:45:29 +00:00
|
|
|
#![deny(clippy::restriction)]
|
2023-08-24 19:32:12 +00:00
|
|
|
//~^ ERROR: `clippy::restriction` is not meant to be enabled as a group
|
2020-10-09 10:45:29 +00:00
|
|
|
#![forbid(clippy::restriction)]
|
2023-08-24 19:32:12 +00:00
|
|
|
//~^ ERROR: `clippy::restriction` is not meant to be enabled as a group
|
2020-10-09 10:45:29 +00:00
|
|
|
|
|
|
|
fn main() {}
|