From fce18a570848c1be2f8f685137a5e0f6ef5eb6b8 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 22 May 2025 07:55:06 +0200 Subject: [PATCH] Support `transmute_unchecked` intrinsic for mir-eval --- crates/hir-ty/src/mir/eval/shim.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir-ty/src/mir/eval/shim.rs b/crates/hir-ty/src/mir/eval/shim.rs index 7cf948b178..90c52ee96f 100644 --- a/crates/hir-ty/src/mir/eval/shim.rs +++ b/crates/hir-ty/src/mir/eval/shim.rs @@ -1121,7 +1121,7 @@ impl Evaluator<'_> { // We don't call any drop glue yet, so there is nothing here Ok(()) } - "transmute" => { + "transmute" | "transmute_unchecked" => { let [arg] = args else { return Err(MirEvalError::InternalError( "transmute arg is not provided".into(),