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