Auto merge of #118470 - nnethercote:cleanup-error-handlers, r=compiler-errors
Cleanup error handlers Mostly by making function naming more consistent. More to do after this, but this is enough for one PR. r? compiler-errors
This commit is contained in:
commit
2da59b8676
170 changed files with 495 additions and 517 deletions
|
@ -1069,7 +1069,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
if res == Res::Err || has_ambiguity_error {
|
||||
this.tcx
|
||||
.sess
|
||||
.delay_span_bug(import.span, "some error happened for an import");
|
||||
.span_delayed_bug(import.span, "some error happened for an import");
|
||||
return;
|
||||
}
|
||||
if let Ok(initial_res) = initial_res {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue