This commit is contained in:
nora 2022-04-03 14:58:01 +02:00
parent 22ca118481
commit 583b3c3a86
3 changed files with 197 additions and 15 deletions

View file

@ -325,6 +325,7 @@ mod tests {
}
#[test]
#[allow(clippy::redundant_clone)]
fn clone() {
let mut unit = ();
let stuffed_ptr1: StuffedPtr<(), PanicsInDrop> = StuffedPtr::new_ptr(&mut unit);