mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Rollup merge of #106791 - estebank:fix-ice, r=compiler-errors
Fix ICE formatting
This commit is contained in:
commit
c06d57eb19
@ -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…
Reference in New Issue
Block a user