Closed compiler-errors closed 3 months ago
https://github.com/rust-lang/rust/issues/77841#issuecomment-716575747 FCP'd a modification to the specification of repr(transparent) to check for at most one non-1-ZST field in repr(transparent).
repr(transparent)
This was changed in the compiler in: https://github.com/rust-lang/rust/pull/86279
The reference was never updated, leading to confusion: https://github.com/rust-lang/rust/issues/129029
Thanks @compiler-errors.
https://github.com/rust-lang/rust/issues/77841#issuecomment-716575747 FCP'd a modification to the specification of
repr(transparent)
to check for at most one non-1-ZST field inrepr(transparent)
.This was changed in the compiler in: https://github.com/rust-lang/rust/pull/86279
The reference was never updated, leading to confusion: https://github.com/rust-lang/rust/issues/129029