diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2025-05-22 06:05:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 06:05:35 +0000 |
| commit | b64a9341024ef035403644e0d3ceb8bf93e497d5 (patch) | |
| tree | d9add6385710fda8753b1dbe06fa9b672da03496 | |
| parent | 1c584188ff217b299fc2dfb6d33ecc9b4daba8eb (diff) | |
| parent | 24a416cc5714ab7129fa91f4e94f6dd877675b05 (diff) | |
| download | rust-b64a9341024ef035403644e0d3ceb8bf93e497d5.tar.gz rust-b64a9341024ef035403644e0d3ceb8bf93e497d5.zip | |
Merge pull request #19842 from Veykril/push-zunlmrzpnrzk
minor: Support `transmute_unchecked` intrinsic for mir-eval
| -rw-r--r-- | src/tools/rust-analyzer/crates/hir-ty/src/mir/eval/shim.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-ty/src/mir/eval/shim.rs b/src/tools/rust-analyzer/crates/hir-ty/src/mir/eval/shim.rs index 7cf948b178e..90c52ee96f1 100644 --- a/src/tools/rust-analyzer/crates/hir-ty/src/mir/eval/shim.rs +++ b/src/tools/rust-analyzer/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(), |
