]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/let_underscore_must_use.rs
Auto merge of #7847 - mikerite:fix-7829, r=flip1995
[rust.git] / tests / ui / let_underscore_must_use.rs
index 7f481542fa73b2579257b83337bd57fd763c6d51..a842e872a37b1f0fefcb21dad35b630ef75deaeb 100644 (file)
@@ -1,4 +1,5 @@
 #![warn(clippy::let_underscore_must_use)]
+#![allow(clippy::unnecessary_wraps)]
 
 // Debug implementations can fire this lint,
 // so we shouldn't lint external macros
@@ -88,4 +89,7 @@ fn main() {
     let _ = a.map(|_| ());
 
     let _ = a;
+
+    #[allow(clippy::let_underscore_must_use)]
+    let _ = a;
 }