Skip to content

Commit cce3961

Browse files
committed
Rename ParseSess::with_span_handler as ParseSess::with_dcx.
1 parent 7738d69 commit cce3961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse/session.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl ParseSess {
166166
config.hide_parse_errors(),
167167
config.color(),
168168
);
169-
let parse_sess = RawParseSess::with_span_handler(handler, source_map);
169+
let parse_sess = RawParseSess::with_dcx(handler, source_map);
170170

171171
Ok(ParseSess {
172172
parse_sess,

0 commit comments

Comments
 (0)