Rename ParseSess::with_span_handler
as ParseSess::with_dcx
.
This commit is contained in:
parent
7738d69007
commit
cce3961f9a
@ -166,7 +166,7 @@ pub(crate) fn new(config: &Config) -> Result<ParseSess, ErrorKind> {
|
||||
config.hide_parse_errors(),
|
||||
config.color(),
|
||||
);
|
||||
let parse_sess = RawParseSess::with_span_handler(handler, source_map);
|
||||
let parse_sess = RawParseSess::with_dcx(handler, source_map);
|
||||
|
||||
Ok(ParseSess {
|
||||
parse_sess,
|
||||
|
Loading…
Reference in New Issue
Block a user