Rename HandlerInner::delayed_span_bugs
as HandlerInner::span_delayed_bugs
.
For reasons similar to the previous commit.
This commit is contained in:
parent
5d1d384443
commit
2c337a072c
6 changed files with 21 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue