Rule: Public struct fields reordered¶
Canonical rule slug: public-struct-field-reorder. ← back to all rules
A published record's fields are permuted, so every already-compiled consumer reads and writes members at offsets the new layout assigns to different fields -- often without any size change to notice it by.
Canonical demonstration¶
- case198_public_struct_field_reorder — Public Struct Field Reorder (🔴 BREAKING)