Skip to content

Commit

Permalink
Merge pull request #53 from JohnTitor/forgetting_copy_types
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jun 10, 2023
2 parents a40b8af + adcc889 commit 4c5c32f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,7 @@ impl<'a> Generator<'a> {
same(field_ptr as *mut _,
__test_field_type_{ty}_{field}(ty_ptr_mut),
"field type {field} of {ty}");
#[allow(unknown_lints, forgetting_copy_types)]
mem::forget(uninit_ty);
}}
"#,
Expand Down

0 comments on commit 4c5c32f

Please sign in to comment.