mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Use pub(crate)
This commit is contained in:
parent
7e78aebc8f
commit
c51213c2e7
1 changed files with 5 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue