aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/code_model_api.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs
index dd7eeebd0..87a7195e6 100644
--- a/crates/ra_hir/src/code_model_api.rs
+++ b/crates/ra_hir/src/code_model_api.rs
@@ -69,7 +69,7 @@ pub struct Module {
69} 69}
70 70
71/// The defs which can be visible in the module. 71/// The defs which can be visible in the module.
72#[derive(Debug, Clone, Copy, PartialEq, Eq)] 72#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
73pub enum ModuleDef { 73pub enum ModuleDef {
74 Module(Module), 74 Module(Module),
75 Function(Function), 75 Function(Function),