about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorKonrad Borowski <konrad@borowski.pw>2020-06-01 15:36:45 +0200
committerGitHub <noreply@github.com>2020-06-01 15:36:45 +0200
commit664222a4e2223e5b6505d027b36b4deebb9865ac (patch)
tree614a08810575fed9c6b96e878539402bc0c15c93 /src/libcore
parentb85e3fe010413b8c528d4de593d912a5ba024653 (diff)
downloadrust-664222a4e2223e5b6505d027b36b4deebb9865ac.tar.gz
rust-664222a4e2223e5b6505d027b36b4deebb9865ac.zip
Remove allow missing_debug_implementations for MaybeUninit
It already has a Debug implementation.
Diffstat (limited to 'src/libcore')
-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"]