You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is currently impossible because it causes impl conflicts with any generic #[derive(KnownLayout)]. However, if we could get Rust to understand that we're only emitting a derive for unsized types, it'd be possible. Prototyped in 5601ac4, but Rust doesn't know that TrailingField: KnownLayout<PointerMetadata = usize> implies TrailingField: !Sized. Maybe we can spell TrailingField: !Sized somehow?
The text was updated successfully, but these errors were encountered:
This is currently impossible because it causes impl conflicts with any generic
#[derive(KnownLayout)]
. However, if we could get Rust to understand that we're only emitting a derive for unsized types, it'd be possible. Prototyped in 5601ac4, but Rust doesn't know thatTrailingField: KnownLayout<PointerMetadata = usize>
impliesTrailingField: !Sized
. Maybe we can spellTrailingField: !Sized
somehow?The text was updated successfully, but these errors were encountered: