We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edc72ca commit 118d2e4Copy full SHA for 118d2e4
alloc/src/ffi/c_str.rs
@@ -696,6 +696,7 @@ impl CString {
696
// memory-unsafe code from working by accident. Inline
697
// to prevent LLVM from optimizing it away in debug builds.
698
#[stable(feature = "cstring_drop", since = "1.13.0")]
699
+#[rustc_insignificant_dtor]
700
impl Drop for CString {
701
#[inline]
702
fn drop(&mut self) {
std/src/io/error/repr_bitpacked.rs
@@ -124,6 +124,7 @@ const TAG_SIMPLE: usize = 0b11;
124
/// is_unwind_safe::<std::io::Error>();
125
/// ```
126
#[repr(transparent)]
127
128
pub(super) struct Repr(NonNull<()>, PhantomData<ErrorData<Box<Custom>>>);
129
130
// All the types `Repr` stores internally are Send + Sync, and so is it.
0 commit comments