Skip to content

Commit 7b2df7a

Browse files
authored
Merge pull request JohnTitor/ctest2#53 from JohnTitor/forgetting_copy_types
2 parents 3f25fbc + de33952 commit 7b2df7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ctest/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,7 @@ impl<'a> Generator<'a> {
13531353
same(field_ptr as *mut _,
13541354
__test_field_type_{ty}_{field}(ty_ptr_mut),
13551355
"field type {field} of {ty}");
1356+
#[allow(unknown_lints, forgetting_copy_types)]
13561357
mem::forget(uninit_ty);
13571358
}}
13581359
"#,

0 commit comments

Comments
 (0)