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