]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/implicit_return.rs
iterate List by value
[rust.git] / tests / ui / implicit_return.rs
index 5abbf6a5583ea1f8352daae10d9b21910c7e80ef..c0d70ecf502ed6167fe7205866045f24d66c6ceb 100644 (file)
@@ -21,7 +21,6 @@ fn test_if_block() -> bool {
     }
 }
 
-#[allow(clippy::match_bool)]
 #[rustfmt::skip]
 fn test_match(x: bool) -> bool {
     match x {
@@ -30,7 +29,7 @@ fn test_match(x: bool) -> bool {
     }
 }
 
-#[allow(clippy::match_bool, clippy::needless_return)]
+#[allow(clippy::needless_return)]
 fn test_match_with_unreachable(x: bool) -> bool {
     match x {
         true => return false,