The other two (`human` and `json`) are already handled.
}
});
if let ErrorOutputType::HumanReadable(kind) = options.error_format {
}
});
if let ErrorOutputType::HumanReadable(kind) = options.error_format {
- let (_, color_config) = kind.unzip();
+ let (short, color_config) = kind.unzip();
+
+ if short {
+ compiler.arg("--error-format").arg("short");
+ }
+
match color_config {
ColorConfig::Never => {
compiler.arg("--color").arg("never");
match color_config {
ColorConfig::Never => {
compiler.arg("--color").arg("never");