about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
diff options
context:
space:
mode:
authordianne <diannes.gm@gmail.com>2025-07-04 21:53:03 -0700
committerdianne <diannes.gm@gmail.com>2025-07-04 23:47:31 -0700
commitbb643159786c789c0b64f819d36a0979c63f9791 (patch)
tree5425926c3529f74b57a549e749ca345e68eef482 /compiler/rustc_mir_build/src/thir
parent50061f3b11f51d7a6e3acd8ce793a1f17f99b597 (diff)
downloadrust-bb643159786c789c0b64f819d36a0979c63f9791.tar.gz
rust-bb643159786c789c0b64f819d36a0979c63f9791.zip
only check for mixed deref/normal constructors when needed
Diffstat (limited to 'compiler/rustc_mir_build/src/thir')
-rw-r--r--compiler/rustc_mir_build/src/thir/pattern/check_match.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_build/src/thir/pattern/check_match.rs b/compiler/rustc_mir_build/src/thir/pattern/check_match.rs
index b7b160c738d..a49bfc1b8f4 100644
--- a/compiler/rustc_mir_build/src/thir/pattern/check_match.rs
+++ b/compiler/rustc_mir_build/src/thir/pattern/check_match.rs
@@ -406,6 +406,7 @@ impl<'p, 'tcx> MatchVisitor<'p, 'tcx> {
             scrut_span,
             refutable,
             known_valid_scrutinee,
+            internal_state: Default::default(),
         }
     }