Files
rust/library/std/src
Theemathas Chirananthavat 1e4c1d6f75 Make PinCoerceUnsized require Deref
Also, delete impls on non-Deref types.

Pin doesn't do anything useful for non-Deref types, so PinCoerceUnsized
on such types makes no sense.

This is a breaking change, since stable code can observe the deleted
`PinCoerceUnsized` impls by uselessly coercing between such types
inside a `Pin`.

There is still some strange behavior, such as `Pin<&mut i32>` being
able to coerce to `Pin<&dyn Send>`, but not being able to coerce to
`Pin<&i32>`. However, I don't think it's possible to fix this.

Fixes https://github.com/rust-lang/rust/issues/145081
2026-03-25 11:40:27 +07:00
..
2026-03-25 11:40:27 +07:00
2026-01-11 16:39:18 +03:00
2026-03-10 00:05:20 +01:00
2026-03-17 09:31:03 +00:00
2026-01-21 19:20:04 +01:00
2026-02-23 13:13:27 +01:00
2025-02-07 16:54:07 +01:00