aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-11 16:10:34 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-11 16:10:34 +0000
commita180674986df6ff4c1934dc92f29b49e607477db (patch)
treee36ad67c76104dad8c7fafa7514631a7b7b6a97f /crates/ra_hir
parentaf62fde57fe58f4aa06608568dc26535731800a0 (diff)
parentdc951098f6a981b36d5559dc12d7c96b18ac411b (diff)
Merge #789
789: remove useless hash r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/macros.rs2
-rw-r--r--crates/ra_hir/src/module_tree.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/macros.rs b/crates/ra_hir/src/macros.rs
index 95925159f..a8070637e 100644
--- a/crates/ra_hir/src/macros.rs
+++ b/crates/ra_hir/src/macros.rs
@@ -17,7 +17,7 @@ use ra_syntax::{
17use crate::{MacroCallId, PersistentHirDatabase}; 17use crate::{MacroCallId, PersistentHirDatabase};
18 18
19// Hard-coded defs for now :-( 19// Hard-coded defs for now :-(
20#[derive(Debug, Clone, PartialEq, Eq, Hash)] 20#[derive(Debug, Clone, PartialEq, Eq)]
21pub enum MacroDef { 21pub enum MacroDef {
22 Vec, 22 Vec,
23 QueryGroup, 23 QueryGroup,
diff --git a/crates/ra_hir/src/module_tree.rs b/crates/ra_hir/src/module_tree.rs
index 1f19ee191..99c2115e1 100644
--- a/crates/ra_hir/src/module_tree.rs
+++ b/crates/ra_hir/src/module_tree.rs
@@ -115,7 +115,7 @@ pub struct ModuleTree {
115 links: Arena<LinkId, LinkData>, 115 links: Arena<LinkId, LinkData>,
116} 116}
117 117
118#[derive(Debug, PartialEq, Eq, Hash)] 118#[derive(Debug, PartialEq, Eq)]
119pub struct ModuleData { 119pub struct ModuleData {
120 file_id: HirFileId, 120 file_id: HirFileId,
121 /// Points to `ast::Module`, `None` for the whole file. 121 /// Points to `ast::Module`, `None` for the whole file.