about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
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_middle/src
parent154037ffb82714a8d6264a9153622637b170c706 (diff)
downloadrust-6fc0cf428885a4939fc3b6f60f638ce09e48339f.tar.gz
rust-6fc0cf428885a4939fc3b6f60f638ce09e48339f.zip
Remove dead code stemming from an old effects desugaring
Diffstat (limited to 'compiler/rustc_middle/src')
-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 {