Skip to content

Commit fb91acc

Browse files
committed
Update tests
1 parent 2b7953e commit fb91acc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/unit/out/refcount/union_cross_arm_cast.rs

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

0 commit comments

Comments
 (0)