diff options
| author | Michael Goulet <michael@errs.io> | 2025-06-25 17:07:18 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-07-04 18:26:09 +0000 |
| commit | d79b669b09909e1280af940f7b2739d018e14327 (patch) | |
| tree | c00dee8c74d3866371d860f5c918b315c2d7cfe2 /compiler/rustc_infer | |
| parent | 74570e526e6816b04c479a34dc1f2116e121e798 (diff) | |
| download | rust-d79b669b09909e1280af940f7b2739d018e14327.tar.gz rust-d79b669b09909e1280af940f7b2739d018e14327.zip | |
Fix pretty printing of placeholder types
Diffstat (limited to 'compiler/rustc_infer')
| -rw-r--r-- | compiler/rustc_infer/src/infer/region_constraints/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/region_constraints/mod.rs b/compiler/rustc_infer/src/infer/region_constraints/mod.rs index f4cb73685d5..a1744b4df80 100644 --- a/compiler/rustc_infer/src/infer/region_constraints/mod.rs +++ b/compiler/rustc_infer/src/infer/region_constraints/mod.rs @@ -655,7 +655,7 @@ impl<'tcx> fmt::Display for GenericKind<'tcx> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match *self { GenericKind::Param(ref p) => write!(f, "{p}"), - GenericKind::Placeholder(ref p) => write!(f, "{p:?}"), + GenericKind::Placeholder(ref p) => write!(f, "{p}"), GenericKind::Alias(ref p) => write!(f, "{p}"), } } |
