Rollup merge of #49621 - Nemo157:impl-unpin-for-pin, r=withoutboats
This commit is contained in:
commit
83669ecc1f
@ -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> {}
|
||||
|
@ -1213,3 +1213,6 @@ impl<'a, T: ?Sized> fmt::Pointer for Pin<'a, T> {
|
||||
|
||||
#[unstable(feature = "pin", issue = "49150")]
|
||||
impl<'a, T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Pin<'a, U>> for Pin<'a, T> {}
|
||||
|
||||
#[unstable(feature = "pin", issue = "49150")]
|
||||
unsafe impl<'a, T: ?Sized> Unpin for Pin<'a, T> {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user