Skip to content

Rule: Internal struct reordered, out of contract

Canonical rule slug: internal-struct-reordered-scoped. ← back to all rules

A struct reachable only from internal headers is reordered, which public-surface scoping correctly declines to report.

Canonical demonstration