Revert some span_bugs to span_delayed_bug.
Fixes #121410. Fixes #121414. Fixes #121418. Fixes #121431.
This commit is contained in:
@@ -1636,7 +1636,9 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
||||
if let Some(old_def_id) = self.orig_opt_local_def_id(param) {
|
||||
old_def_id
|
||||
} else {
|
||||
self.dcx().span_bug(lifetime.ident.span, "no def-id for fresh lifetime");
|
||||
self.dcx()
|
||||
.span_delayed_bug(lifetime.ident.span, "no def-id for fresh lifetime");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user