about summary refs log tree commit diff
path: root/compiler/rustc_hir_pretty
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-09-02 17:08:58 +0200
committerGitHub <noreply@github.com>2025-09-02 17:08:58 +0200
commit07f7d86f36fe3a12381a9ca772a4705eaf0abc80 (patch)
tree2d99c82d3a4f04a34e740cd04137217b7d5924eb /compiler/rustc_hir_pretty
parent8408bca60502a2364b6104192089d27b2b6223fd (diff)
parent6fc0cf428885a4939fc3b6f60f638ce09e48339f (diff)
downloadrust-07f7d86f36fe3a12381a9ca772a4705eaf0abc80.tar.gz
rust-07f7d86f36fe3a12381a9ca772a4705eaf0abc80.zip
Rollup merge of #146102 - fmease:rm-dead-eff-code-iii, r=fee1-dead
Remove dead code stemming from an old effects desugaring

CC https://github.com/rust-lang/rust/pull/132374, https://github.com/rust-lang/rust/pull/133443.

r? fee1-dead
Diffstat (limited to 'compiler/rustc_hir_pretty')
-rw-r--r--compiler/rustc_hir_pretty/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_pretty/src/lib.rs b/compiler/rustc_hir_pretty/src/lib.rs
index 52b29e05dcb..b9d8eed54a9 100644
--- a/compiler/rustc_hir_pretty/src/lib.rs
+++ b/compiler/rustc_hir_pretty/src/lib.rs
@@ -2379,7 +2379,7 @@ impl<'a> State<'a> {
                     self.print_type(default);
                 }
             }
-            GenericParamKind::Const { ty, ref default, synthetic: _ } => {
+            GenericParamKind::Const { ty, ref default } => {
                 self.word_space(":");
                 self.print_type(ty);
                 if let Some(default) = default {