diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-26 15:13:54 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-26 15:13:54 +0000 |
commit | ac05571dc9b01dbbb6cf97988190563f1b33ce13 (patch) | |
tree | 3ac357657b2dfa901bc28d35a7934123778dc30a /crates/ra_hir_expand | |
parent | 539e597743229b4497491f325a257bef026602c7 (diff) | |
parent | db34abeb8589518896b82f52062b9fab4c2b1352 (diff) |
Merge #3734
3734: Get rid of ItemOrMacro r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_expand')
-rw-r--r-- | crates/ra_hir_expand/src/ast_id_map.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ra_hir_expand/src/ast_id_map.rs b/crates/ra_hir_expand/src/ast_id_map.rs index a6644d55f..5643ecdce 100644 --- a/crates/ra_hir_expand/src/ast_id_map.rs +++ b/crates/ra_hir_expand/src/ast_id_map.rs | |||
@@ -68,8 +68,6 @@ impl AstIdMap { | |||
68 | bfs(node, |it| { | 68 | bfs(node, |it| { |
69 | if let Some(module_item) = ast::ModuleItem::cast(it.clone()) { | 69 | if let Some(module_item) = ast::ModuleItem::cast(it.clone()) { |
70 | res.alloc(module_item.syntax()); | 70 | res.alloc(module_item.syntax()); |
71 | } else if let Some(macro_call) = ast::MacroCall::cast(it) { | ||
72 | res.alloc(macro_call.syntax()); | ||
73 | } | 71 | } |
74 | }); | 72 | }); |
75 | res | 73 | res |