mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-06 16:41:29 -04:00
ecf527faaf
`trait_info_of` already returns `None` for unsized types, so allowing `T: ?Sized` is sound and lets callers in generic contexts use these functions without a separate `Sized` bound. For unsized `T`, the function always returns `None`.