Skip to content

Commit bd9e1a7

Browse files
committed
Update tests
1 parent 646ad25 commit bd9e1a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/unit/out/unsafe/push_emplace_back.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub unsafe fn shrink_through_ptr_2(mut comps: *mut Vec<Chunk>) {
5454
(*comps).shrink_to_fit();
5555
}
5656
pub unsafe fn nested_push_move_3(mut bw: *mut Writer) {
57-
(*(*bw).output).push((*bw).chunk);
57+
(*(*bw).output).push(Chunk::Chunk_pmutChunk({ &mut (*bw).chunk as *mut Chunk }));
5858
}
5959
pub unsafe fn emplace_local_from_field_4(mut jpg: *mut JPEGData, mut cond: bool) {
6060
let mut head: [u8; 3] = [1_u8, 2_u8, 3_u8];

0 commit comments

Comments
 (0)