From adad641c521fc9f4a02e6d3672ad0718aa66ca91 Mon Sep 17 00:00:00 2001 From: pcpthm Date: Thu, 14 Mar 2019 17:25:51 +0900 Subject: derive Hash for ra_hir::ModuleDef --- crates/ra_hir/src/code_model_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir/src/code_model_api.rs') 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 { } /// The defs which can be visible in the module. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum ModuleDef { Module(Module), Function(Function), -- cgit v1.2.3