From 9df3d2e775a9387b346da3da63e19e2842f72041 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 18 Nov 2019 10:35:33 +0300 Subject: Publicise GenericParams See https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Exposing.20GenericParam.2Ename --- crates/ra_hir/src/generics.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates') diff --git a/crates/ra_hir/src/generics.rs b/crates/ra_hir/src/generics.rs index 9c261eda9..c35482ae8 100644 --- a/crates/ra_hir/src/generics.rs +++ b/crates/ra_hir/src/generics.rs @@ -22,9 +22,9 @@ use crate::{ #[derive(Clone, PartialEq, Eq, Debug)] pub struct GenericParam { // FIXME: give generic params proper IDs - pub(crate) idx: u32, - pub(crate) name: Name, - pub(crate) default: Option, + pub idx: u32, + pub name: Name, + pub default: Option, } /// Data about the generic parameters of a function, struct, impl, etc. -- cgit v1.2.3