Files
rust/library/coretests/tests
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
..
2025-06-12 12:53:14 -04:00
2025-12-22 21:37:18 -05:00
2025-09-12 13:54:15 -05:00
2026-02-20 10:16:36 +01:00
2025-08-02 17:34:59 -04:00
2026-01-11 16:39:18 +03:00
2025-07-09 16:37:11 +00:00
2025-09-16 10:05:40 -05:00
2025-09-16 10:26:52 -05:00
2026-01-23 15:12:47 +07:00
2025-06-25 17:06:49 -07:00
2026-03-23 08:17:14 -04:00
2025-12-12 06:31:00 +02:00
2026-02-25 22:51:53 +08:00
2025-01-26 10:26:36 +00:00
2025-01-26 10:26:36 +00:00
2025-10-26 21:33:00 -04:00
2026-02-20 10:16:36 +01:00
2025-01-26 10:26:36 +00:00
2025-09-10 16:50:45 -05:00
2025-01-26 10:26:36 +00:00
2025-05-12 15:33:37 +02:00
2026-03-25 11:40:27 +07:00
2025-08-01 08:55:50 +03:00
2025-01-26 10:26:36 +00:00
2026-01-29 11:12:54 -08:00
2025-01-26 10:26:36 +00:00
2026-03-21 14:30:38 -04:00
2025-01-26 10:26:36 +00:00
2025-08-20 20:31:33 -04:00