]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/must_use_candidates.rs
iterate List by value
[rust.git] / tests / ui / must_use_candidates.rs
index 29ef8d1ed9c29662443b1bcc075dd945e20cc794..3732422017104ccaf788e747de9c07ac99eb758a 100644 (file)
@@ -1,6 +1,6 @@
 // run-rustfix
 #![feature(never_type)]
-#![allow(unused_mut)]
+#![allow(unused_mut, clippy::redundant_allocation)]
 #![warn(clippy::must_use_candidate)]
 use std::rc::Rc;
 use std::sync::atomic::{AtomicBool, Ordering};