aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/lib.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-07 19:09:53 +0000
committerAleksey Kladov <[email protected]>2019-12-07 19:25:48 +0000
commit88c5b1282a5770097c6c768b24bedfc3a6944e08 (patch)
tree913c24e889f3db8044b4b9f11bc3969e7eb02e34 /crates/ra_hir_def/src/lib.rs
parentf4f8b8147426b0096d4b5126e487caaa13d13c27 (diff)
Rename GenericParam -> TypeParam
We don't have LifetimeParam yet, but they are planned!
Diffstat (limited to 'crates/ra_hir_def/src/lib.rs')
-rw-r--r--crates/ra_hir_def/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_hir_def/src/lib.rs b/crates/ra_hir_def/src/lib.rs
index 6dfb3c03d..569da4f28 100644
--- a/crates/ra_hir_def/src/lib.rs
+++ b/crates/ra_hir_def/src/lib.rs
@@ -318,14 +318,14 @@ macro_rules! impl_froms {
318} 318}
319 319
320#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] 320#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
321pub struct GenericParamId { 321pub struct TypeParamId {
322 pub parent: GenericDefId, 322 pub parent: GenericDefId,
323 pub local_id: LocalGenericParamId, 323 pub local_id: LocalTypeParamId,
324} 324}
325 325
326#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] 326#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
327pub struct LocalGenericParamId(RawId); 327pub struct LocalTypeParamId(RawId);
328impl_arena_id!(LocalGenericParamId); 328impl_arena_id!(LocalTypeParamId);
329 329
330#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] 330#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
331pub enum ContainerId { 331pub enum ContainerId {