Skip to content

Commit e18c681

Browse files
committed
Auto merge of #1658 - RalfJung:forget, r=RalfJung
remove intrinsic that is now implemented in the rustc side Since rust-lang/rust#80040, we can rely on the pass introduced in rust-lang/rust#79049 to lower away `forget`.
2 parents d895f6e + 65f5c27 commit e18c681

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/shims/intrinsics.rs

-5
Original file line numberDiff line numberDiff line change
@@ -443,11 +443,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
443443
this.exact_div(this.read_immediate(num)?, this.read_immediate(denom)?, dest)?;
444444
}
445445

446-
"forget" => {
447-
// We get an argument... and forget about it.
448-
let &[_] = check_arg_count(args)?;
449-
}
450-
451446
"try" => return this.handle_try(args, dest, ret),
452447

453448
name => throw_unsup_format!("unimplemented intrinsic: {}", name),

0 commit comments

Comments
 (0)