about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2024-01-09 21:30:01 +0100
committerLukas Wirth <lukastw97@gmail.com>2024-01-09 21:35:22 +0100
commitf8b130a6aa437a1e9626db89db1252c325c868d8 (patch)
tree6f55c88ef15890a6d778758fbd840f777f225b44
parentc4b3075be0d2829de5172c38969b0f5d0ea06292 (diff)
downloadrust-f8b130a6aa437a1e9626db89db1252c325c868d8.tar.gz
rust-f8b130a6aa437a1e9626db89db1252c325c868d8.zip
unreachable pub
-rw-r--r--crates/hir-def/src/generics.rs6
1 files changed, 3 insertions, 3 deletions
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<TypeOrConstParamData>,
-    pub lifetimes: Arena<LifetimeParamData>,
-    pub where_predicates: Vec<WherePredicate>,
+    pub(crate) type_or_consts: Arena<TypeOrConstParamData>,
+    lifetimes: Arena<LifetimeParamData>,
+    where_predicates: Vec<WherePredicate>,
 }
 
 impl GenericParamsCollector {