diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2025-09-01 21:39:01 +0200 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2025-09-01 21:39:01 +0200 |
| commit | 6fc0cf428885a4939fc3b6f60f638ce09e48339f (patch) | |
| tree | c1a8efba6689b1f2bf7e17069d9d0abb55ab1aae /compiler/rustc_hir/src/intravisit.rs | |
| parent | 154037ffb82714a8d6264a9153622637b170c706 (diff) | |
| download | rust-6fc0cf428885a4939fc3b6f60f638ce09e48339f.tar.gz rust-6fc0cf428885a4939fc3b6f60f638ce09e48339f.zip | |
Remove dead code stemming from an old effects desugaring
Diffstat (limited to 'compiler/rustc_hir/src/intravisit.rs')
| -rw-r--r-- | compiler/rustc_hir/src/intravisit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/intravisit.rs b/compiler/rustc_hir/src/intravisit.rs index 9b2f8ae75fa..25a7ae239f3 100644 --- a/compiler/rustc_hir/src/intravisit.rs +++ b/compiler/rustc_hir/src/intravisit.rs @@ -1085,7 +1085,7 @@ pub fn walk_generic_param<'v, V: Visitor<'v>>( GenericParamKind::Type { ref default, .. } => { visit_opt!(visitor, visit_ty_unambig, default) } - GenericParamKind::Const { ref ty, ref default, synthetic: _ } => { + GenericParamKind::Const { ref ty, ref default } => { try_visit!(visitor.visit_ty_unambig(ty)); if let Some(default) = default { try_visit!(visitor.visit_const_param_default(*hir_id, default)); |
