Skip to content

Commit

Permalink
Rollup merge of rust-lang#106791 - estebank:fix-ice, r=compiler-errors
Browse files Browse the repository at this point in the history
Fix ICE formatting
  • Loading branch information
Yuki Okushi committed Jan 13, 2023
2 parents 5adc7a5 + 06a2d2d commit c06d57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_borrowck/src/diagnostics/region_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl<'tcx> RegionErrors<'tcx> {
#[track_caller]
pub fn push(&mut self, val: impl Into<RegionErrorKind<'tcx>>) {
let val = val.into();
self.1.sess.delay_span_bug(DUMMY_SP, "{val:?}");
self.1.sess.delay_span_bug(DUMMY_SP, format!("{val:?}"));
self.0.push(val);
}
pub fn is_empty(&self) -> bool {
Expand Down

0 comments on commit c06d57e

Please sign in to comment.