summaryrefslogtreecommitdiffstats
path: root/tests/common/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/mod.rs')
-rw-r--r--tests/common/mod.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 0b46aeb..35aad9b 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -1,7 +1,9 @@
// Every test binary compiles this file, so a helper that one of them uses is
-// dead code in the other twenty and the lint would fire everywhere and mean
-// nothing. `the_test_helpers_are_used` in tests/architecture.rs is the check
-// that does matter: a helper no test names is deleted, not excused.
+// dead code in the other twenty — 46 of the items below warn that way, and an
+// item-scoped allowance on each would say the same thing 46 times. The check
+// that does the work is `the_test_helpers_are_used` in tests/architecture.rs:
+// it reads this file and fails on any item, `pub` or private, that no test
+// names, so the allowance hides noise and cannot hide dead weight.
#![allow(dead_code)]
use std::collections::HashMap;