Skip to content

Commit cc0ee34

Browse files
authored
Rollup merge of #141285 - compiler-errors:tick, r=lcnr
Add tick to `RePlaceholder` debug output Present when debug printing canonical queries r? lcnr
2 parents 3b9ccbb + 1d8db54 commit cc0ee34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_type_ir/src/region_kind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ impl<I: Interner> fmt::Debug for RegionKind<I> {
193193

194194
ReVar(vid) => write!(f, "{vid:?}"),
195195

196-
RePlaceholder(placeholder) => write!(f, "{placeholder:?}"),
196+
RePlaceholder(placeholder) => write!(f, "'{placeholder:?}"),
197197

198198
// Use `'{erased}` as the output instead of `'erased` so that its more obviously distinct from
199199
// a `ReEarlyParam` named `'erased`. Technically that would print as `'erased/#IDX` so this is

0 commit comments

Comments
 (0)