about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-23 12:21:20 +0100
committerRalf Jung <post@ralfj.de>2024-03-23 13:18:33 +0100
commit038e7c6c38b9e1713fb258c783441bb0102b8492 (patch)
treea78684fccabceaeedf3e082c686d54089b6d78cd /compiler/rustc_codegen_cranelift
parent67b9d7d18468d1f0bddbca3cdc6878f6ef3b5a12 (diff)
rename MIR int2ptr casts to match library name
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
-rw-r--r--compiler/rustc_codegen_cranelift/src/base.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/base.rs b/compiler/rustc_codegen_cranelift/src/base.rs
index 047dc56a32e..e7823013260 100644
--- a/compiler/rustc_codegen_cranelift/src/base.rs
+++ b/compiler/rustc_codegen_cranelift/src/base.rs
@@ -642,7 +642,7 @@ fn codegen_stmt<'tcx>(
                     | CastKind::FnPtrToPtr
                     | CastKind::PtrToPtr
                     | CastKind::PointerExposeAddress
-                    | CastKind::PointerFromExposedAddress,
+                    | CastKind::PointerWithExposedProvenance,
                     ref operand,
                     to_ty,
                 ) => {