tidy::error_codes

Function check_error_codes_used

Source
fn check_error_codes_used(
    search_paths: &[&Path],
    error_codes: &[String],
    errors: &mut Vec<String>,
    no_longer_emitted: &[String],
    verbose: bool,
)
Expand description

Stage 4: Search compiler/ and ensure that every error code is actually used by the compiler and that no undocumented error codes exist.