File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -934,17 +934,17 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
934
934
Some ( "human" ) => ErrorOutputType :: HumanReadable ( color) ,
935
935
Some ( "json" ) => ErrorOutputType :: Json ,
936
936
937
- None => ErrorOutputType :: default ( ) ,
937
+ None => ErrorOutputType :: HumanReadable ( color ) ,
938
938
939
939
Some ( arg) => {
940
- early_error ( ErrorOutputType :: default ( ) , & format ! ( "argument for --error-format must \
941
- be human or json (instead was \
942
- `{}`)",
943
- arg) )
940
+ early_error ( ErrorOutputType :: HumanReadable ( color ) ,
941
+ & format ! ( "argument for --error-format must be human or json (instead \
942
+ was `{}`)",
943
+ arg) )
944
944
}
945
945
}
946
946
} else {
947
- ErrorOutputType :: default ( )
947
+ ErrorOutputType :: HumanReadable ( color )
948
948
} ;
949
949
950
950
let unparsed_crate_types = matches. opt_strs ( "crate-type" ) ;
You can’t perform that action at this time.
0 commit comments