about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-06-02 13:07:22 +0900
committerGitHub <noreply@github.com>2020-06-02 13:07:22 +0900
commit56c8f0fa12f2c7d5cc78fb17380bba933e85cb23 (patch)
tree9270847872efca25f2b88c79b62fae57ac5a7add /src
parentb3cf989eafe2dde7dbc6bc76986b46c9b3a56366 (diff)
parent664222a4e2223e5b6505d027b36b4deebb9865ac (diff)
downloadrust-56c8f0fa12f2c7d5cc78fb17380bba933e85cb23.tar.gz
rust-56c8f0fa12f2c7d5cc78fb17380bba933e85cb23.zip
Rollup merge of #72886 - xfix:patch-21, r=jonas-schievink
Remove allow missing_debug_implementations for MaybeUninit

It already has a Debug implementation.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/mem/maybe_uninit.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcore/mem/maybe_uninit.rs b/src/libcore/mem/maybe_uninit.rs
index 01c97444ae3..499016545e9 100644
--- a/src/libcore/mem/maybe_uninit.rs
+++ b/src/libcore/mem/maybe_uninit.rs
@@ -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"]