blob: de699309b16d123e1ff21fa0e8fb7598e68e402a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//@compile-flags: -W clippy::restriction
//@error-in-other-file: restriction
#![warn(clippy::blanket_clippy_restriction_lints)]
//! Test that the whole restriction group is not enabled
#![warn(clippy::restriction)]
//~^ blanket_clippy_restriction_lints
#![deny(clippy::restriction)]
//~^ blanket_clippy_restriction_lints
#![forbid(clippy::restriction)]
//~^ blanket_clippy_restriction_lints
fn main() {}
|