RL024

Sub-entity wider than its container

Severity
Error
Module
rule-lint
What it means
A sub-entity declares a visibility wider than the effective visibility of the entity containing it (ENT-015).
How to fix it
Narrow the sub-entity, or remove the field to take the container's visibility.