summaryrefslogtreecommitdiffstats
path: root/tests/ui/iterators/into-iter-on-arrays-lint.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/iterators/into-iter-on-arrays-lint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/iterators/into-iter-on-arrays-lint.rs b/tests/ui/iterators/into-iter-on-arrays-lint.rs
index 582d5cadd..25b0cef73 100644
--- a/tests/ui/iterators/into-iter-on-arrays-lint.rs
+++ b/tests/ui/iterators/into-iter-on-arrays-lint.rs
@@ -2,7 +2,7 @@
// run-rustfix
// rustfix-only-machine-applicable
-#[allow(unused_must_use)]
+#[allow(unused_must_use, unused_allocation)]
fn main() {
let small = [1, 2];
let big = [0u8; 33];