about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2025-09-01 21:39:01 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2025-09-01 21:39:01 +0200
commit6fc0cf428885a4939fc3b6f60f638ce09e48339f (patch)
treec1a8efba6689b1f2bf7e17069d9d0abb55ab1aae /compiler/rustc_ast_lowering
parent154037ffb82714a8d6264a9153622637b170c706 (diff)
downloadrust-6fc0cf428885a4939fc3b6f60f638ce09e48339f.tar.gz
rust-6fc0cf428885a4939fc3b6f60f638ce09e48339f.zip
Remove dead code stemming from an old effects desugaring
Diffstat (limited to 'compiler/rustc_ast_lowering')
-rw-r--r--compiler/rustc_ast_lowering/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/lib.rs b/compiler/rustc_ast_lowering/src/lib.rs
index 70595391b85..a6a4cc842f0 100644
--- a/compiler/rustc_ast_lowering/src/lib.rs
+++ b/compiler/rustc_ast_lowering/src/lib.rs
@@ -2028,7 +2028,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
 
                 (
                     hir::ParamName::Plain(self.lower_ident(param.ident)),
-                    hir::GenericParamKind::Const { ty, default, synthetic: false },
+                    hir::GenericParamKind::Const { ty, default },
                 )
             }
         }