]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/must_use_candidates.fixed
iterate List by value
[rust.git] / tests / ui / must_use_candidates.fixed
index e2ceb8baded21c591284d10024bd0783ed992caf..9556f6f82cc6313d39125487819635ce0b0eed7f 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};