]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/collapsible_if.fixed
Use macro source when creating `Sugg` helper
[rust.git] / tests / ui / collapsible_if.fixed
index 5b0e4a473c4ad708d167625ed559ec49c1cb6b35..6bb7682bae9530883c8035aa3ca0a1aebf5c5cbe 100644 (file)
@@ -139,6 +139,9 @@ fn main() {
     // Fix #5962
     if matches!(true, true) && matches!(true, true) {}
 
+    // Issue #9375
+    if matches!(true, true) && truth() && matches!(true, true) {}
+
     if true {
         #[cfg(not(teehee))]
         if true {