Skip to content

Commit db35ade

Browse files
authored
Merge pull request rust-lang#19842 from Veykril/push-zunlmrzpnrzk
minor: Support `transmute_unchecked` intrinsic for mir-eval
2 parents e5d81e7 + 24a416c commit db35ade

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)