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
|
@ -228,7 +228,7 @@ impl<'tcx> Queries<'tcx> {
|
|||
|
||||
// If we have any delayed bugs, for example because we created TyKind::Error earlier,
|
||||
// it's likely that codegen will only cause more ICEs, obscuring the original problem
|
||||
self.compiler.sess.diagnostic().flush_delayed();
|
||||
self.compiler.sess.dcx().flush_delayed();
|
||||
|
||||
// Hook for UI tests.
|
||||
Self::check_for_rustc_errors_attr(tcx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue