Skip to content

Commit 4a48a39

Browse files
committed
Fix trap_unreachable_ret_value
1 parent 590c239 commit 4a48a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trap.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub(crate) fn trap_unreachable_ret_value<'tcx>(
5656
dest_layout: TyAndLayout<'tcx>,
5757
msg: impl AsRef<str>,
5858
) -> CValue<'tcx> {
59-
trap_unreachable(fx, msg);
59+
trap_unimplemented(fx, msg);
6060
CValue::by_ref(Pointer::const_addr(fx, 0), dest_layout)
6161
}
6262

0 commit comments

Comments
 (0)