mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
Refactor how SwitchInt stores jump targets
This commit is contained in:
parent
fbf2430f02
commit
1178777457
@ -282,7 +282,6 @@ fn check_terminator(tcx: TyCtxt<'tcx>, body: &'a Body<'tcx>, terminator: &Termin
|
|||||||
TerminatorKind::SwitchInt {
|
TerminatorKind::SwitchInt {
|
||||||
discr,
|
discr,
|
||||||
switch_ty: _,
|
switch_ty: _,
|
||||||
values: _,
|
|
||||||
targets: _,
|
targets: _,
|
||||||
} => check_operand(tcx, discr, span, body),
|
} => check_operand(tcx, discr, span, body),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user