Skip to content

Commit ef315b3

Browse files
committed
Rename default_handler as default_dcx.
1 parent cce3961 commit ef315b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parse/session.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl From<Color> for ColorConfig {
118118
}
119119
}
120120

121-
fn default_handler(
121+
fn default_dcx(
122122
source_map: Lrc<SourceMap>,
123123
ignore_path_set: Lrc<IgnorePathSet>,
124124
can_reset: Lrc<AtomicBool>,
@@ -159,7 +159,7 @@ impl ParseSess {
159159
let source_map = Lrc::new(SourceMap::new(FilePathMapping::empty()));
160160
let can_reset_errors = Lrc::new(AtomicBool::new(false));
161161

162-
let handler = default_handler(
162+
let handler = default_dcx(
163163
Lrc::clone(&source_map),
164164
Lrc::clone(&ignore_path_set),
165165
Lrc::clone(&can_reset_errors),

0 commit comments

Comments
 (0)