Skip to content

Commit 06a2d2d

Browse files
committed
Fix ICE formatting
1 parent 1bc3683 commit 06a2d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_borrowck/src/diagnostics/region_errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl<'tcx> RegionErrors<'tcx> {
7979
#[track_caller]
8080
pub fn push(&mut self, val: impl Into<RegionErrorKind<'tcx>>) {
8181
let val = val.into();
82-
self.1.sess.delay_span_bug(DUMMY_SP, "{val:?}");
82+
self.1.sess.delay_span_bug(DUMMY_SP, format!("{val:?}"));
8383
self.0.push(val);
8484
}
8585
pub fn is_empty(&self) -> bool {

0 commit comments

Comments
 (0)