Skip to content

Commit d60ba3d

Browse files
authored
fix
1 parent 45aefe8 commit d60ba3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub struct Holder {
8989
pub arr: [Counted; 2],
9090
}
9191
#[repr(C)]
92-
#[derive(Default)]
92+
#[derive(FnPtrArg, Default)]
9393
pub struct Box_int_ {
9494
pub val: i32,
9595
}
@@ -104,7 +104,7 @@ impl Box_int_ {
104104
}
105105
}
106106
#[repr(C)]
107-
#[derive(Default)]
107+
#[derive(FnPtrArg, Default)]
108108
pub struct Owner {
109109
pub box_: Box_int_,
110110
}

0 commit comments

Comments
 (0)