Skip to content

Rule: Type kind changed

Canonical rule slug: type-kind-changed. ← back to all rules

A declaration changes between struct, class, and union, changing both its layout rules and how consumer source may use it.

Canonical demonstration