2023-04-20 09:37:15 -05:00
|
|
|
//@compile-flags: -W clippy::restriction
|
2022-10-30 16:15:46 -05:00
|
|
|
|
2020-10-06 17:02:28 -05:00
|
|
|
#![warn(clippy::blanket_clippy_restriction_lints)]
|
|
|
|
|
|
|
|
//! Test that the whole restriction group is not enabled
|
|
|
|
#![warn(clippy::restriction)]
|
2023-07-28 14:35:48 -05:00
|
|
|
//~^ ERROR: `clippy::restriction` is not meant to be enabled as a group
|
2020-10-06 17:02:28 -05:00
|
|
|
#![deny(clippy::restriction)]
|
2023-07-28 14:35:48 -05:00
|
|
|
//~^ ERROR: `clippy::restriction` is not meant to be enabled as a group
|
2020-10-06 17:02:28 -05:00
|
|
|
#![forbid(clippy::restriction)]
|
2023-07-28 14:35:48 -05:00
|
|
|
//~^ ERROR: `clippy::restriction` is not meant to be enabled as a group
|
2020-10-06 17:02:28 -05:00
|
|
|
|
|
|
|
fn main() {}
|