pub fn early_error(
    output: ErrorOutputType,
    msg: impl Into<DiagnosticMessage>
) -> !