aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2021-04-10 19:30:24 +0100
committerJonas Schievink <[email protected]>2021-04-10 19:30:24 +0100
commit050dc93e00c9b4be3982c82fa1babd31c3b13b7b (patch)
treeb951f53cbf27d802799883ab166a7360cc46146c /crates
parent526dc4b5f567df5416261fbfe1c01bb9f7e35e6e (diff)
Revert "Use `pub(crate)`"
This reverts commit c51213c2e7de21b7e68e6773ca3be0cdfc7c18af.
Diffstat (limited to 'crates')
-rw-r--r--crates/hir_expand/src/input.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/hir_expand/src/input.rs b/crates/hir_expand/src/input.rs
index 40f8da696..8f652cd7c 100644
--- a/crates/hir_expand/src/input.rs
+++ b/crates/hir_expand/src/input.rs
@@ -7,11 +7,7 @@ use syntax::{
7 7
8use crate::{db::AstDatabase, name::AsName, AttrId, LazyMacroId, MacroCallKind, MacroCallLoc}; 8use crate::{db::AstDatabase, name::AsName, AttrId, LazyMacroId, MacroCallKind, MacroCallLoc};
9 9
10pub(crate) fn process_macro_input( 10pub fn process_macro_input(db: &dyn AstDatabase, node: SyntaxNode, id: LazyMacroId) -> SyntaxNode {
11 db: &dyn AstDatabase,
12 node: SyntaxNode,
13 id: LazyMacroId,
14) -> SyntaxNode {
15 let loc: MacroCallLoc = db.lookup_intern_macro(id); 11 let loc: MacroCallLoc = db.lookup_intern_macro(id);
16 12
17 match loc.kind { 13 match loc.kind {