mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-09 21:58:00 +00:00

Type params and assoc types have unit metadata if they are sized Extend the logic in `Pointee` projection to ensure that we can satisfy `<T as Pointee>::Metadata = ()` if `T: Sized`. cc: `@SimonSapin` and #93959