about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-20 16:50:43 +0200
committerGitHub <noreply@github.com>2025-05-20 16:50:43 +0200
commitcc0ee34b43ffb49fe37109a1fb3ad5e85878c4b8 (patch)
treecdd896e81e6d55e4da1385cc91729a94b16f565d
parent3b9ccbbaf12e2f03c548e8165cfb7caa729a48f4 (diff)
parent1d8db54f7634363d93232a412b265d0d196c0bb8 (diff)
Rollup merge of #141285 - compiler-errors:tick, r=lcnr
Add tick to `RePlaceholder` debug output

Present when debug printing canonical queries

r? lcnr
-rw-r--r--compiler/rustc_type_ir/src/region_kind.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_type_ir/src/region_kind.rs b/compiler/rustc_type_ir/src/region_kind.rs
index eae3213ead0..1b5d04e6025 100644
--- a/compiler/rustc_type_ir/src/region_kind.rs
+++ b/compiler/rustc_type_ir/src/region_kind.rs
@@ -193,7 +193,7 @@ impl<I: Interner> fmt::Debug for RegionKind<I> {
 
             ReVar(vid) => write!(f, "{vid:?}"),
 
-            RePlaceholder(placeholder) => write!(f, "{placeholder:?}"),
+            RePlaceholder(placeholder) => write!(f, "'{placeholder:?}"),
 
             // Use `'{erased}` as the output instead of `'erased` so that its more obviously distinct from
             // a `ReEarlyParam` named `'erased`. Technically that would print as `'erased/#IDX` so this is