Rollup merge of #49621 - Nemo157:impl-unpin-for-pin, r=withoutboats

This commit is contained in:
Alex Crichton
2018-04-05 11:50:12 -07:00
2 changed files with 6 additions and 0 deletions

View File

@@ -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> {}