Skip to content

Commit bc2b283

Browse files
Fix rebase fallout
1 parent e59756e commit bc2b283

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/librustc_const_eval/check_match.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -536,10 +536,10 @@ impl<'a, 'tcx> StaticInliner<'a, 'tcx> {
536536
}
537537
PatKind::Box(inner) => PatKind::Box(self.fold_pat(inner)),
538538
PatKind::Ref(inner, mutbl) => PatKind::Ref(self.fold_pat(inner), mutbl),
539-
PatKind::Vec(before, slice, after) => {
540-
PatKind::Vec(before.move_map(|x| self.fold_pat(x)),
541-
slice.map(|x| self.fold_pat(x)),
542-
after.move_map(|x| self.fold_pat(x)))
539+
PatKind::Slice(before, slice, after) => {
540+
PatKind::Slice(before.move_map(|x| self.fold_pat(x)),
541+
slice.map(|x| self.fold_pat(x)),
542+
after.move_map(|x| self.fold_pat(x)))
543543
}
544544
PatKind::Wild |
545545
PatKind::Lit(_) |

0 commit comments

Comments
 (0)