Revert some span_bug
s to span_delayed_bug
.
Fixes #121503. Fixes #121597.
This commit is contained in:
parent
8c0b1fcd29
commit
edda2a7d3e
6 changed files with 113 additions and 2 deletions
|
@ -1331,7 +1331,7 @@ impl<'a, 'tcx> BoundVarContext<'a, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
self.tcx.dcx().span_bug(
|
||||
self.tcx.dcx().span_delayed_bug(
|
||||
lifetime_ref.ident.span,
|
||||
format!("Could not resolve {:?} in scope {:#?}", lifetime_ref, self.scope,),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue