We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 699a4f5 + 8ca1c1e commit 88ab797Copy full SHA for 88ab797
src/machine.rs
@@ -1775,7 +1775,7 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
1775
let is_generic = instance
1776
.args
1777
.into_iter()
1778
- .any(|kind| !matches!(kind.unpack(), ty::GenericArgKind::Lifetime(_)));
+ .any(|arg| !matches!(arg.kind(), ty::GenericArgKind::Lifetime(_)));
1779
let can_be_inlined = matches!(
1780
ecx.tcx.sess.opts.unstable_opts.cross_crate_inline_threshold,
1781
InliningThreshold::Always
0 commit comments