Skip to content

Commit 2b7953e

Browse files
committed
Merge branch 'master' into void-round-trip
2 parents cde0270 + 297f2bc commit 2b7953e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/unit/out/refcount/union_cross_arm_cast.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ fn main_0() -> i32 {
157157
(*(*(((*(*c.borrow()).u.borrow()).a())
158158
.clone()
159159
.to_any()
160-
.reinterpret_cast::<shape_b>())
160+
.cast::<shape_b>()
161+
.expect("ub:wrong type"))
161162
.upgrade()
162163
.deref())
163164
.tail

0 commit comments

Comments
 (0)