Rename HandlerInner::delayed_span_bugs as HandlerInner::span_delayed_bugs.

For reasons similar to the previous commit.
This commit is contained in:
Nicholas Nethercote 2023-11-30 15:57:21 +11:00
parent 5d1d384443
commit 2c337a072c
6 changed files with 21 additions and 21 deletions

View file

@ -131,7 +131,7 @@ pub struct TypeErrCtxt<'a, 'tcx> {
impl Drop for TypeErrCtxt<'_, '_> {
fn drop(&mut self) {
if let Some(_) = self.infcx.tcx.sess.has_errors_or_delayed_span_bugs() {
if let Some(_) = self.infcx.tcx.sess.has_errors_or_span_delayed_bugs() {
// ok, emitted an error.
} else {
self.infcx