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