Skip to content

Commit 28e74a7

Browse files
authored
Unrolled build for #156936
Rollup merge of #156936 - Darksonn:no-PinCoerceUnsized-for-UnsafePinned, r=Mark-Simulacrum Remove FIXME about impl PinCoerceUnsized for UnsafePinned<T> The `PinCoerceUnsized` trait may only be implemented for smart pointer types, but `UnsafePinned` has no indirection. Thus, it will not be correct to add this impl. Follow-up to #137043 cc @Sky9x
2 parents 61d7280 + 0750ba1 commit 28e74a7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

library/core/src/pin/unsafe_pinned.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,5 +178,3 @@ impl<T: CoerceUnsized<U>, U> CoerceUnsized<UnsafePinned<U>> for UnsafePinned<T>
178178
#[unstable(feature = "dispatch_from_dyn", issue = "none")]
179179
// #[unstable(feature = "unsafe_pinned", issue = "125735")]
180180
impl<T: DispatchFromDyn<U>, U> DispatchFromDyn<UnsafePinned<U>> for UnsafePinned<T> {}
181-
182-
// FIXME(unsafe_pinned): impl PinCoerceUnsized for UnsafePinned<T>?

0 commit comments

Comments
 (0)