about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-13 00:57:03 +0000
committerbors <bors@rust-lang.org>2020-10-13 00:57:03 +0000
commitbf947fcba226a7ec0964bb6be17237e54e04ccdb (patch)
tree47b3df0b16d4c17a949aa7819b6dc47d68cc7611
parent29cff6feffd9da569fe3aa171d10db2647bf86c9 (diff)
parent117877745738f21e851686efe57a09e14606dadc (diff)
downloadrust-bf947fcba226a7ec0964bb6be17237e54e04ccdb.tar.gz
rust-bf947fcba226a7ec0964bb6be17237e54e04ccdb.zip
Auto merge of #77796 - jonas-schievink:switchint-refactor, r=oli-obk
Refactor how SwitchInt stores jump targets

Closes https://github.com/rust-lang/rust/issues/65693
-rw-r--r--clippy_lints/src/utils/qualify_min_const_fn.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/qualify_min_const_fn.rs b/clippy_lints/src/utils/qualify_min_const_fn.rs
index 1b4f2034272..7cb7d0a26b6 100644
--- a/clippy_lints/src/utils/qualify_min_const_fn.rs
+++ b/clippy_lints/src/utils/qualify_min_const_fn.rs
@@ -282,7 +282,6 @@ fn check_terminator(tcx: TyCtxt<'tcx>, body: &'a Body<'tcx>, terminator: &Termin
         TerminatorKind::SwitchInt {
             discr,
             switch_ty: _,
-            values: _,
             targets: _,
         } => check_operand(tcx, discr, span, body),