Rename Session::span_diagnostic
as Session::dcx
.
This commit is contained in:
parent
9df1576e1d
commit
09af8a667c
66 changed files with 176 additions and 204 deletions
|
@ -803,7 +803,7 @@ fn main_args(
|
|||
|
||||
compiler.enter(|queries| {
|
||||
let mut gcx = abort_on_err(queries.global_ctxt(), sess);
|
||||
if sess.diagnostic().has_errors_or_lint_errors().is_some() {
|
||||
if sess.dcx().has_errors_or_lint_errors().is_some() {
|
||||
sess.fatal("Compilation failed, aborting rustdoc");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue