summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/src/docs/blanket_clippy_restriction_lints.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/src/docs/blanket_clippy_restriction_lints.txt')
-rw-r--r--src/tools/clippy/src/docs/blanket_clippy_restriction_lints.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/tools/clippy/src/docs/blanket_clippy_restriction_lints.txt b/src/tools/clippy/src/docs/blanket_clippy_restriction_lints.txt
deleted file mode 100644
index 28a4ebf71..000000000
--- a/src/tools/clippy/src/docs/blanket_clippy_restriction_lints.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-### What it does
-Checks for `warn`/`deny`/`forbid` attributes targeting the whole clippy::restriction category.
-
-### Why is this bad?
-Restriction lints sometimes are in contrast with other lints or even go against idiomatic rust.
-These lints should only be enabled on a lint-by-lint basis and with careful consideration.
-
-### Example
-```
-#![deny(clippy::restriction)]
-```
-
-Use instead:
-```
-#![deny(clippy::as_conversions)]
-``` \ No newline at end of file