diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-18 07:36:27 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-18 07:36:27 +0000 |
commit | 5e75ded9fcc3c60c77e98af387dd4a8fe35b0f4f (patch) | |
tree | 4cc61d15ae9495d622a666b65ddbdcd0d77c6ed0 | |
parent | 28c2d74b2150102a8756a5357a5a965d7610bd15 (diff) | |
parent | 9df3d2e775a9387b346da3da63e19e2842f72041 (diff) |
Merge #2294
2294: Publicise GenericParams r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r-- | crates/ra_hir/src/generics.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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::{ | |||
22 | #[derive(Clone, PartialEq, Eq, Debug)] | 22 | #[derive(Clone, PartialEq, Eq, Debug)] |
23 | pub struct GenericParam { | 23 | pub struct GenericParam { |
24 | // FIXME: give generic params proper IDs | 24 | // FIXME: give generic params proper IDs |
25 | pub(crate) idx: u32, | 25 | pub idx: u32, |
26 | pub(crate) name: Name, | 26 | pub name: Name, |
27 | pub(crate) default: Option<Path>, | 27 | pub default: Option<Path>, |
28 | } | 28 | } |
29 | 29 | ||
30 | /// Data about the generic parameters of a function, struct, impl, etc. | 30 | /// Data about the generic parameters of a function, struct, impl, etc. |