Skip to content

Rule: Internal struct lost a field, out of contract

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

A struct reachable only from internal headers loses a field, which public-surface scoping correctly declines to report.

Canonical demonstration