diff options
Diffstat (limited to 'crates/ra_hir_def/src/lib.rs')
-rw-r--r-- | crates/ra_hir_def/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir_def/src/lib.rs b/crates/ra_hir_def/src/lib.rs index b74038b50..2cfe68701 100644 --- a/crates/ra_hir_def/src/lib.rs +++ b/crates/ra_hir_def/src/lib.rs | |||
@@ -106,14 +106,14 @@ impl_arena_id!(LocalImportId); | |||
106 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | 106 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] |
107 | pub struct ModuleId { | 107 | pub struct ModuleId { |
108 | pub krate: CrateId, | 108 | pub krate: CrateId, |
109 | pub module_id: CrateModuleId, | 109 | pub module_id: LocalModuleId, |
110 | } | 110 | } |
111 | 111 | ||
112 | /// An ID of a module, **local** to a specific crate | 112 | /// An ID of a module, **local** to a specific crate |
113 | // FIXME: rename to `LocalModuleId`. | 113 | // FIXME: rename to `LocalModuleId`. |
114 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] | 114 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] |
115 | pub struct CrateModuleId(RawId); | 115 | pub struct LocalModuleId(RawId); |
116 | impl_arena_id!(CrateModuleId); | 116 | impl_arena_id!(LocalModuleId); |
117 | 117 | ||
118 | macro_rules! impl_intern_key { | 118 | macro_rules! impl_intern_key { |
119 | ($name:ident) => { | 119 | ($name:ident) => { |