Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add tick to RePlaceholder debug output
  • Loading branch information
compiler-errors committed May 20, 2025
commit 1d8db54f7634363d93232a412b265d0d196c0bb8
2 changes: 1 addition & 1 deletion compiler/rustc_type_ir/src/region_kind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading