]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/invalidation.rs
Rollup merge of #106640 - lcnr:update-test, r=jackh726
[rust.git] / compiler / rustc_borrowck / src / invalidation.rs
index f66a7ab3c031aa87ae54fc658047f2b4cf8384be..6fd9290058c36383e1a5c155de33f467701ee93d 100644 (file)
@@ -106,7 +106,7 @@ fn visit_terminator(&mut self, terminator: &Terminator<'tcx>, location: Location
         self.check_activations(location);
 
         match &terminator.kind {
-            TerminatorKind::SwitchInt { discr, switch_ty: _, targets: _ } => {
+            TerminatorKind::SwitchInt { discr, targets: _ } => {
                 self.consume_operand(location, discr);
             }
             TerminatorKind::Drop { place: drop_place, target: _, unwind: _ } => {