diff options
| author | Michael Goulet <michael@errs.io> | 2024-09-26 22:10:04 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-09-27 11:59:39 -0400 |
| commit | 7033468a67c0e39b2e34de2b43f78a29d101861d (patch) | |
| tree | 06a3f36d65ded1aad84059c8b9cabafd9cf7652d /library/std/src | |
| parent | a3f76a26e045a760bb1163b7eab36872985242d5 (diff) | |
| download | rust-7033468a67c0e39b2e34de2b43f78a29d101861d.tar.gz rust-7033468a67c0e39b2e34de2b43f78a29d101861d.zip | |
Mark some more types as having insignificant dtor
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/io/error/repr_bitpacked.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/io/error/repr_bitpacked.rs b/library/std/src/io/error/repr_bitpacked.rs index 80ba8455df3..a839a2fbac1 100644 --- a/library/std/src/io/error/repr_bitpacked.rs +++ b/library/std/src/io/error/repr_bitpacked.rs @@ -124,6 +124,7 @@ const TAG_SIMPLE: usize = 0b11; /// is_unwind_safe::<std::io::Error>(); /// ``` #[repr(transparent)] +#[rustc_insignificant_dtor] pub(super) struct Repr(NonNull<()>, PhantomData<ErrorData<Box<Custom>>>); // All the types `Repr` stores internally are Send + Sync, and so is it. |
