Skip to content

Commit 4291e16

Browse files
committed
fix broken test
1 parent cd92edd commit 4291e16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chalk-ir/src/interner.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ mod default {
304304
fmt: &mut fmt::Formatter<'_>,
305305
) -> Option<fmt::Result> {
306306
tls::with_current_program(|prog| Some(prog?.debug_lifetime(lifetime, fmt)))
307+
.or_else(|| Some(write!(fmt, "{:?}", lifetime.interned)))
307308
}
308309

309310
fn intern_ty(&self, ty: TyData<ChalkIr>) -> Arc<TyData<ChalkIr>> {

0 commit comments

Comments
 (0)