Skip to content

Commit

Permalink
Rollup merge of #106791 - estebank:fix-ice, r=compiler-errors
Browse files Browse the repository at this point in the history
Fix ICE formatting
  • Loading branch information
matthiaskrgr authored Jan 13, 2023
2 parents bfcf0c4 + 06a2d2d commit df1d6d9
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 df1d6d9

Please sign in to comment.