1
Fork 0

Rollup merge of #121620 - nnethercote:fix-even-more-121208-fallout, r=lcnr

Fix more #121208 fallout (round 3)

#121208 converted lots of delayed bugs to bugs. Unsurprisingly, there were a few invalid conversion found via fuzzing.

r? `@lcnr`
This commit is contained in:
Guillaume Gomez 2024-02-26 10:27:43 +01:00 committed by GitHub
commit 76f303d658
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 113 additions and 2 deletions

View file

@ -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,),
);