rustc_session::config

Function parse_error_format

Source
pub fn parse_error_format(
    early_dcx: &mut EarlyDiagCtxt,
    matches: &Matches,
    color: ColorConfig,
    json_color: ColorConfig,
    json_rendered: HumanReadableErrorType,
) -> ErrorOutputType
Expand description

Parses the --error-format flag.