From a29d4d9ad6fb27003712932566724be265e354cd Mon Sep 17 00:00:00 2001 From: Wim Looman Date: Thu, 5 Apr 2018 20:03:02 +0200 Subject: impl Unpin for PinBox --- src/liballoc/boxed.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/liballoc') diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index e59a6e9fdea..a319fb797f8 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -994,3 +994,6 @@ impl fmt::Pointer for PinBox { #[unstable(feature = "pin", issue = "49150")] impl, U: ?Sized> CoerceUnsized> for PinBox {} + +#[unstable(feature = "pin", issue = "49150")] +unsafe impl Unpin for PinBox {} -- cgit 1.4.1-3-g733a5