Expand description
Central validation diagnostics for generation inputs and backend readiness.
Validation should happen between config/extraction resolution and backend emission. This module provides the shared diagnostic shape; individual validators can stay close to the subsystem they understand while returning structured reports here.
Structs§
- Validated
ApiSurface - Borrowed API surface that has passed central validation.
- Validation
Diagnostic - One structured validation issue.
- Validation
Report - Collected validation diagnostics.
Enums§
- Validation
Code - Stable validation diagnostic code.
- Validation
Severity - Validation severity.
Functions§
- is_
critical_ unsuppressible - Diagnostics that are never safe to suppress globally.
- validate_
api_ surface - Validate the extracted public API surface before backend generation.
- validate_
api_ surface_ with_ bridged_ traits - Validate the extracted public API surface before backend generation, allowing excluded-type substitution only for traits with explicit bridge config.