about summary refs log tree commit diff
path: root/compiler/rustc_middle
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_middle
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_middle')
-rw-r--r--compiler/rustc_middle/src/ty/generics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/generics.rs b/compiler/rustc_middle/src/ty/generics.rs
index c7b3b541549..b6b10e24585 100644
--- a/compiler/rustc_middle/src/ty/generics.rs
+++ b/compiler/rustc_middle/src/ty/generics.rs
@@ -13,7 +13,7 @@ use crate::ty::{EarlyBinder, GenericArgsRef};
 pub enum GenericParamDefKind {
     Lifetime,
     Type { has_default: bool, synthetic: bool },
-    Const { has_default: bool, synthetic: bool },
+    Const { has_default: bool },
 }
 
 impl GenericParamDefKind {