We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e600875 commit 722c724Copy full SHA for 722c724
src/base.rs
@@ -607,7 +607,11 @@ fn codegen_stmt<'tcx>(
607
let operand = codegen_operand(fx, operand);
608
lval.write_cvalue(fx, operand.cast_pointer_to(to_layout));
609
}
610
- Rvalue::Cast(CastKind::Misc | CastKind::PointerAddress, ref operand, to_ty) => {
+ Rvalue::Cast(
611
+ CastKind::Misc | CastKind::PointerExposeAddress,
612
+ ref operand,
613
+ to_ty,
614
+ ) => {
615
616
let from_ty = operand.layout().ty;
617
let to_ty = fx.monomorphize(to_ty);
0 commit comments