aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2021-04-09 13:24:31 +0100
committerJonas Schievink <[email protected]>2021-04-09 13:24:31 +0100
commitc51213c2e7de21b7e68e6773ca3be0cdfc7c18af (patch)
treee9d284e6ef37ea0f5f258e3c4ece820a5ad32f95 /crates/hir_expand/src
parent7e78aebc8fbbb4043d62949681e4d700f1a2ec46 (diff)
Use `pub(crate)`
Diffstat (limited to 'crates/hir_expand/src')
-rw-r--r--crates/hir_expand/src/input.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/hir_expand/src/input.rs b/crates/hir_expand/src/input.rs
index 8f652cd7c..40f8da696 100644
--- a/crates/hir_expand/src/input.rs
+++ b/crates/hir_expand/src/input.rs
@@ -7,7 +7,11 @@ 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 fn process_macro_input(db: &dyn AstDatabase, node: SyntaxNode, id: LazyMacroId) -> SyntaxNode { 10pub(crate) fn process_macro_input(
11 db: &dyn AstDatabase,
12 node: SyntaxNode,
13 id: LazyMacroId,
14) -> SyntaxNode {
11 let loc: MacroCallLoc = db.lookup_intern_macro(id); 15 let loc: MacroCallLoc = db.lookup_intern_macro(id);
12 16
13 match loc.kind { 17 match loc.kind {