diff options
| author | Michael Goulet <michael@errs.io> | 2025-05-20 10:24:21 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-05-20 10:30:07 +0000 |
| commit | 1d8db54f7634363d93232a412b265d0d196c0bb8 (patch) | |
| tree | 266c76204614d1fc910d28b235b2d05218643d0c | |
| parent | f8e9e7636aabcbc29345d9614432d15b3c0c4ec7 (diff) | |
| download | rust-1d8db54f7634363d93232a412b265d0d196c0bb8.tar.gz rust-1d8db54f7634363d93232a412b265d0d196c0bb8.zip | |
Add tick to RePlaceholder debug output
| -rw-r--r-- | compiler/rustc_type_ir/src/region_kind.rs | 2 |
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 |
