File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use std::path::Path;
22use std:: sync:: atomic:: { AtomicBool , Ordering } ;
33
44use rustc_data_structures:: sync:: { IntoDynSyncSend , Lrc } ;
5- use rustc_errors:: emitter:: { DynEmitter , Emitter , EmitterWriter } ;
5+ use rustc_errors:: emitter:: { DynEmitter , Emitter , HumanEmitter } ;
66use rustc_errors:: translation:: Translate ;
77use rustc_errors:: { ColorConfig , DiagCtxt , Diagnostic , Level as DiagnosticLevel } ;
88use rustc_session:: parse:: ParseSess as RawParseSess ;
@@ -139,7 +139,7 @@ fn default_dcx(
139139 rustc_driver:: DEFAULT_LOCALE_RESOURCES . to_vec ( ) ,
140140 false ,
141141 ) ;
142- Box :: new ( EmitterWriter :: stderr ( emit_color, fallback_bundle) . sm ( Some ( source_map. clone ( ) ) ) )
142+ Box :: new ( HumanEmitter :: stderr ( emit_color, fallback_bundle) . sm ( Some ( source_map. clone ( ) ) ) )
143143 } ;
144144 DiagCtxt :: with_emitter ( Box :: new ( SilentOnIgnoredFilesEmitter {
145145 has_non_ignorable_parser_errors : false ,
You can’t perform that action at this time.
0 commit comments