diff options
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/nameres.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/nameres.rs b/crates/ra_hir_def/src/nameres.rs index 49e33ccc4..e5b073a0f 100644 --- a/crates/ra_hir_def/src/nameres.rs +++ b/crates/ra_hir_def/src/nameres.rs | |||
@@ -125,12 +125,12 @@ pub struct ModuleData { | |||
125 | pub impls: Vec<ImplId>, | 125 | pub impls: Vec<ImplId>, |
126 | } | 126 | } |
127 | 127 | ||
128 | #[derive(Default, Debug, PartialEq, Eq, Clone)] | 128 | #[derive(Default, Debug, PartialEq, Eq)] |
129 | pub(crate) struct Declarations { | 129 | pub(crate) struct Declarations { |
130 | fns: FxHashMap<FileAstId<ast::FnDef>, FunctionId>, | 130 | fns: FxHashMap<FileAstId<ast::FnDef>, FunctionId>, |
131 | } | 131 | } |
132 | 132 | ||
133 | #[derive(Debug, Default, PartialEq, Eq, Clone)] | 133 | #[derive(Debug, Default, PartialEq, Eq)] |
134 | pub struct ModuleScope { | 134 | pub struct ModuleScope { |
135 | items: FxHashMap<Name, Resolution>, | 135 | items: FxHashMap<Name, Resolution>, |
136 | /// Macros visable in current module in legacy textual scope | 136 | /// Macros visable in current module in legacy textual scope |