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.
1 parent 699a4f5 commit d26e6b1Copy full SHA for d26e6b1
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