]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/collapsible_if.fixed
Merge branch 'master' into hooks
[rust.git] / src / tools / clippy / tests / ui / collapsible_if.fixed
index 561283fc8e73de2b839d10dbf3d3fd22068d091c..efd4187947b201221058dbede468a1f1a76f841f 100644 (file)
@@ -135,4 +135,7 @@ fn main() {
             if truth() {}
         }
     }
+
+    // Fix #5962
+    if matches!(true, true) && matches!(true, true) {}
 }