diff options
Diffstat (limited to '')
-rw-r--r-- | tests/run-coverage/unused.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-coverage/unused.rs b/tests/run-coverage/unused.rs index fb6113eb0..d985af135 100644 --- a/tests/run-coverage/unused.rs +++ b/tests/run-coverage/unused.rs @@ -1,3 +1,5 @@ +#![allow(dead_code, unused_assignments, unused_must_use, unused_variables)] + fn foo<T>(x: T) { let mut i = 0; while i < 10 { |