diff --git a/src/parse/session.rs b/src/parse/session.rs index 82e54b46f15..4d1e141ea45 100644 --- a/src/parse/session.rs +++ b/src/parse/session.rs @@ -118,7 +118,7 @@ impl From for ColorConfig { } } -fn default_handler( +fn default_dcx( source_map: Lrc, ignore_path_set: Lrc, can_reset: Lrc, @@ -159,7 +159,7 @@ impl ParseSess { let source_map = Lrc::new(SourceMap::new(FilePathMapping::empty())); let can_reset_errors = Lrc::new(AtomicBool::new(false)); - let handler = default_handler( + let handler = default_dcx( Lrc::clone(&source_map), Lrc::clone(&ignore_path_set), Lrc::clone(&can_reset_errors),