We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c5f69 commit 2f1c24aCopy full SHA for 2f1c24a
src/liballoc/boxed.rs
@@ -989,3 +989,6 @@ impl<T: ?Sized> fmt::Pointer for PinBox<T> {
989
fmt::Pointer::fmt(&ptr, f)
990
}
991
992
+
993
+#[unstable(feature = "pin", issue = "0")]
994
+impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<PinBox<U>> for PinBox<T> {}
0 commit comments