summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/blanket_clippy_restriction_lints.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/blanket_clippy_restriction_lints.rs')
-rw-r--r--src/tools/clippy/tests/ui/blanket_clippy_restriction_lints.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/blanket_clippy_restriction_lints.rs b/src/tools/clippy/tests/ui/blanket_clippy_restriction_lints.rs
index d055f1752..554745368 100644
--- a/src/tools/clippy/tests/ui/blanket_clippy_restriction_lints.rs
+++ b/src/tools/clippy/tests/ui/blanket_clippy_restriction_lints.rs
@@ -1,3 +1,5 @@
+// compile-flags: -W clippy::restriction
+
#![warn(clippy::blanket_clippy_restriction_lints)]
//! Test that the whole restriction group is not enabled