Skip to content

Rule: Union gained a member within its size

Canonical rule slug: union-field-added-compatible. ← back to all rules

A union gains a member no larger than its existing widest, so the union's size and every containing layout are unchanged.

Canonical demonstration