Skip to content

Commit d26e6b1

Browse files
Rename unpack to kind
1 parent 699a4f5 commit d26e6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/machine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
17751775
let is_generic = instance
17761776
.args
17771777
.into_iter()
1778-
.any(|kind| !matches!(kind.unpack(), ty::GenericArgKind::Lifetime(_)));
1778+
.any(|arg| !matches!(arg.kind(), ty::GenericArgKind::Lifetime(_)));
17791779
let can_be_inlined = matches!(
17801780
ecx.tcx.sess.opts.unstable_opts.cross_crate_inline_threshold,
17811781
InliningThreshold::Always

0 commit comments

Comments
 (0)