switch Drop to `&mut self`
diff --git a/src/test/debug-info/packed-struct-with-destructor.rs b/src/test/debug-info/packed-struct-with-destructor.rs
index 47e4a26..f684a60 100644
--- a/src/test/debug-info/packed-struct-with-destructor.rs
+++ b/src/test/debug-info/packed-struct-with-destructor.rs
@@ -49,7 +49,7 @@
}
impl Drop for Packed {
- fn drop(&self) {}
+ fn drop(&mut self) {}
}
#[packed]
@@ -74,7 +74,7 @@
}
impl Drop for Unpacked {
- fn drop(&self) {}
+ fn drop(&mut self) {}
}
#[packed]
@@ -94,7 +94,7 @@
}
impl Drop for PackedInPackedWithDrop {
- fn drop(&self) {}
+ fn drop(&mut self) {}
}
struct PackedInUnpackedWithDrop {
@@ -105,7 +105,7 @@
}
impl Drop for PackedInUnpackedWithDrop {
- fn drop(&self) {}
+ fn drop(&mut self) {}
}
#[packed]
@@ -117,7 +117,7 @@
}
impl Drop for UnpackedInPackedWithDrop {
- fn drop(&self) {}
+ fn drop(&mut self) {}
}
struct DeeplyNested {