summaryrefslogtreecommitdiffstats
path: root/tests/run-coverage/dead_code.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-coverage/dead_code.rs')
-rw-r--r--tests/run-coverage/dead_code.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-coverage/dead_code.rs b/tests/run-coverage/dead_code.rs
index a1285df0e..3492712a6 100644
--- a/tests/run-coverage/dead_code.rs
+++ b/tests/run-coverage/dead_code.rs
@@ -1,4 +1,4 @@
-#![allow(unused_assignments, unused_variables)]
+#![allow(dead_code, unused_assignments, unused_variables)]
pub fn unused_pub_fn_not_in_library() {
// Initialize test constants in a way that cannot be determined at compile time, to ensure