aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorpcpthm <[email protected]>2019-03-14 08:25:51 +0000
committerpcpthm <[email protected]>2019-03-14 08:25:51 +0000
commitadad641c521fc9f4a02e6d3672ad0718aa66ca91 (patch)
treed978fe7a2ca5ed38c169537387157239e7737faf /crates/ra_hir/src
parent9280788b1eb7efb27ac1cc1308ac0b4c739c7eaf (diff)
derive Hash for ra_hir::ModuleDef
Diffstat (limited to 'crates/ra_hir/src')
-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),