Skip to content

Commit c7ab6b5

Browse files
committed
rename MIR int2ptr casts to match library name
1 parent 7f0f9f6 commit c7ab6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ fn codegen_stmt<'tcx>(
642642
| CastKind::FnPtrToPtr
643643
| CastKind::PtrToPtr
644644
| CastKind::PointerExposeAddress
645-
| CastKind::PointerFromExposedAddress,
645+
| CastKind::PointerWithExposedProvenance,
646646
ref operand,
647647
to_ty,
648648
) => {

0 commit comments

Comments
 (0)