diff --git a/crates/hir-def/src/generics.rs b/crates/hir-def/src/generics.rs index 26a836f25e9..6cb9b8448d1 100644 --- a/crates/hir-def/src/generics.rs +++ b/crates/hir-def/src/generics.rs @@ -144,9 +144,9 @@ pub enum WherePredicateTypeTarget { #[derive(Clone, Default)] pub(crate) struct GenericParamsCollector { - pub type_or_consts: Arena, - pub lifetimes: Arena, - pub where_predicates: Vec, + pub(crate) type_or_consts: Arena, + lifetimes: Arena, + where_predicates: Vec, } impl GenericParamsCollector {