Use pub(crate)

This commit is contained in:
Jonas Schievink 2021-04-09 14:24:31 +02:00
parent 7e78aebc8f
commit c51213c2e7

View File

@ -7,7 +7,11 @@ use syntax::{
use crate::{db::AstDatabase, name::AsName, AttrId, LazyMacroId, MacroCallKind, MacroCallLoc};
pub fn process_macro_input(db: &dyn AstDatabase, node: SyntaxNode, id: LazyMacroId) -> SyntaxNode {
pub(crate) fn process_macro_input(
db: &dyn AstDatabase,
node: SyntaxNode,
id: LazyMacroId,
) -> SyntaxNode {
let loc: MacroCallLoc = db.lookup_intern_macro(id);
match loc.kind {