Rollup merge of #72886 - xfix:patch-21, r=jonas-schievink

Remove allow missing_debug_implementations for MaybeUninit

It already has a Debug implementation.
This commit is contained in:
Yuki Okushi 2020-06-02 13:07:22 +09:00 committed by GitHub
commit 56c8f0fa12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,6 @@ use crate::mem::ManuallyDrop;
/// remain `#[repr(transparent)]`. That said, `MaybeUninit<T>` will *always* guarantee that it has
/// the same size, alignment, and ABI as `T`; it's just that the way `MaybeUninit` implements that
/// guarantee may evolve.
#[allow(missing_debug_implementations)]
#[stable(feature = "maybe_uninit", since = "1.36.0")]
// Lang item so we can wrap other types in it. This is useful for generators.
#[lang = "maybe_uninit"]