Rename new_handler
as new_dcx
.
This commit is contained in:
parent
7b8644e5cf
commit
e13b5c8efb
3 changed files with 6 additions and 10 deletions
|
@ -745,12 +745,8 @@ fn main_args(
|
|||
}
|
||||
};
|
||||
|
||||
let diag = core::new_handler(
|
||||
options.error_format,
|
||||
None,
|
||||
options.diagnostic_width,
|
||||
&options.unstable_opts,
|
||||
);
|
||||
let diag =
|
||||
core::new_dcx(options.error_format, None, options.diagnostic_width, &options.unstable_opts);
|
||||
|
||||
match (options.should_test, options.markdown_input()) {
|
||||
(true, true) => return wrap_return(&diag, markdown::test(options)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue