Skip to content

Commit 24a416c

Browse files
committed
Support transmute_unchecked intrinsic for mir-eval
1 parent 9f82458 commit 24a416c

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/hir-ty/src/mir/eval

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/crates/hir-ty/src/mir/eval/shim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ impl Evaluator<'_> {
11211121
// We don't call any drop glue yet, so there is nothing here
11221122
Ok(())
11231123
}
1124-
"transmute" => {
1124+
"transmute" | "transmute_unchecked" => {
11251125
let [arg] = args else {
11261126
return Err(MirEvalError::InternalError(
11271127
"transmute arg is not provided".into(),

0 commit comments

Comments
 (0)