Skip to content

Commit ca2472e

Browse files
committed
Rename many DiagCtxt and EarlyDiagCtxt locals.
1 parent ef315b3 commit ca2472e

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
@@ -159,14 +159,14 @@ 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_dcx(
162+
let dcx = default_dcx(
163163
Lrc::clone(&source_map),
164164
Lrc::clone(&ignore_path_set),
165165
Lrc::clone(&can_reset_errors),
166166
config.hide_parse_errors(),
167167
config.color(),
168168
);
169-
let parse_sess = RawParseSess::with_dcx(handler, source_map);
169+
let parse_sess = RawParseSess::with_dcx(dcx, source_map);
170170

171171
Ok(ParseSess {
172172
parse_sess,

0 commit comments

Comments
 (0)