pub fn early_warn(output: ErrorOutputType, msg: impl Into<DiagnosticMessage>)