Fix ICE formatting
This commit is contained in:
parent
1bc3683b32
commit
06a2d2d001
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ impl<'tcx> RegionErrors<'tcx> {
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
pub fn push(&mut self, val: impl Into<RegionErrorKind<'tcx>>) {
|
pub fn push(&mut self, val: impl Into<RegionErrorKind<'tcx>>) {
|
||||||
let val = val.into();
|
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);
|
self.0.push(val);
|
||||||
}
|
}
|
||||||
pub fn is_empty(&self) -> bool {
|
pub fn is_empty(&self) -> bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue