diff options
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 4f9dc61ce19..71b53cc88e5 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -845,3 +845,6 @@ impl<T: ?Sized> fmt::Pointer for PinBox<T> { #[unstable(feature = "pin", issue = "49150")] impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<PinBox<U>> for PinBox<T> {} + +#[unstable(feature = "pin", issue = "49150")] +unsafe impl<T: ?Sized> Unpin for PinBox<T> {} |
