account for safe target features in fndef<->closure and fndef<->fndef coerce-lubs

This commit is contained in:
Boxy Uwu 2025-10-28 17:16:51 +00:00
parent 94ff1de61e
commit 85cf2825f4

View file

@ -689,7 +689,7 @@ fn codegen_stmt<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>, cur_block: Block, stmt:
lval.write_cvalue(fx, res);
}
Rvalue::Cast(
CastKind::PointerCoercion(PointerCoercion::ReifyFnPointer, _),
CastKind::PointerCoercion(PointerCoercion::ReifyFnPointer(_), _),
ref operand,
to_ty,
) => {