@eddyb I remember we landed some code that icnreased alignment of structure field projections based on the structure itself, right?
do you happen to remember in which compiler version that ended up being?
because that’s most likely a culprit of https://github.com/rust-lang/rust/issues/56267 that I can think of
cc @Nikita Popov ^ :slight_smile:
@nagisa I think I found the culprit: https://github.com/rust-lang/rust/issues/56267#issuecomment-442233210
That code probably ought to be using project_field
no, there's no correspondence to fields
just have to call restrict_for_offset
@Nikita Popov @nagisa left a comment on-thread
is beta frozen already?
beta is "frozen" in that we would prefer not to land any major work, but if something absolutely must get in, then it can