mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
774655da5f
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