Rule: Pointed-to struct changed size¶
Canonical rule slug: leaf-struct-through-pointer. ← back to all rules
A struct only ever handled through a pointer changes size, which still breaks consumers that allocate or index it.
Canonical demonstration¶
- case48_leaf_struct_through_pointer — Leaf Struct Change Propagated Through Pointer (🔴 BREAKING)