diff options
author | Florian Diebold <[email protected]> | 2019-01-30 21:41:44 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-02-01 21:54:30 +0000 |
commit | d571d26955148befd6986008a5112fff3a901c43 (patch) | |
tree | 2668177168de835fd88cfe21f44d307ced7dfa94 /crates/ra_hir/src/generics.rs | |
parent | d3df80dfe41e4e3ab7644ae576119a264ba0e7f1 (diff) |
Make the Resolution variants tuple variants
Diffstat (limited to 'crates/ra_hir/src/generics.rs')
-rw-r--r-- | crates/ra_hir/src/generics.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/generics.rs b/crates/ra_hir/src/generics.rs index b0bd735bd..a82205f0b 100644 --- a/crates/ra_hir/src/generics.rs +++ b/crates/ra_hir/src/generics.rs | |||
@@ -12,6 +12,7 @@ use crate::{db::PersistentHirDatabase, Name, AsName, Function, Struct, Enum, Tra | |||
12 | /// Data about a generic parameter (to a function, struct, impl, ...). | 12 | /// Data about a generic parameter (to a function, struct, impl, ...). |
13 | #[derive(Clone, PartialEq, Eq, Debug)] | 13 | #[derive(Clone, PartialEq, Eq, Debug)] |
14 | pub struct GenericParam { | 14 | pub struct GenericParam { |
15 | // TODO: give generic params proper IDs | ||
15 | pub(crate) idx: u32, | 16 | pub(crate) idx: u32, |
16 | pub(crate) name: Name, | 17 | pub(crate) name: Name, |
17 | } | 18 | } |