From 050dc93e00c9b4be3982c82fa1babd31c3b13b7b Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Sat, 10 Apr 2021 20:30:24 +0200 Subject: Revert "Use `pub(crate)`" This reverts commit c51213c2e7de21b7e68e6773ca3be0cdfc7c18af. --- crates/hir_expand/src/input.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'crates') 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::{ use crate::{db::AstDatabase, name::AsName, AttrId, LazyMacroId, MacroCallKind, MacroCallLoc}; -pub(crate) fn process_macro_input( - db: &dyn AstDatabase, - node: SyntaxNode, - id: LazyMacroId, -) -> SyntaxNode { +pub fn process_macro_input(db: &dyn AstDatabase, node: SyntaxNode, id: LazyMacroId) -> SyntaxNode { let loc: MacroCallLoc = db.lookup_intern_macro(id); match loc.kind { -- cgit v1.2.3