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 @@ -930,17 +930,17 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
930
930
Some ( "human" ) => ErrorOutputType :: HumanReadable ( color) ,
931
931
Some ( "json" ) => ErrorOutputType :: Json ,
932
932
933
- None => ErrorOutputType :: default ( ) ,
933
+ None => ErrorOutputType :: HumanReadable ( color ) ,
934
934
935
935
Some ( arg) => {
936
- early_error ( ErrorOutputType :: default ( ) , & format ! ( "argument for --error-format must \
937
- be human or json (instead was \
938
- `{}`)",
939
- arg) )
936
+ early_error ( ErrorOutputType :: HumanReadable ( color ) ,
937
+ & format ! ( "argument for --error-format must be human or json (instead \
938
+ was `{}`)",
939
+ arg) )
940
940
}
941
941
}
942
942
} else {
943
- ErrorOutputType :: default ( )
943
+ ErrorOutputType :: HumanReadable ( color )
944
944
} ;
945
945
946
946
let unparsed_crate_types = matches. opt_strs ( "crate-type" ) ;
You can’t perform that action at this time.
0 commit comments