diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs index cdf742057b7b6..50c2ebd2dbeb6 100644 --- a/library/core/src/marker.rs +++ b/library/core/src/marker.rs @@ -772,7 +772,7 @@ pub auto trait Unpin {} /// /// If a type contains a `PhantomPinned`, it will not implement `Unpin` by default. #[stable(feature = "pin", since = "1.33.0")] -#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] +#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct PhantomPinned; #[stable(feature = "pin", since = "1.33.0")]