mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
parent
526dc4b5f5
commit
050dc93e00
1 changed files with 1 additions and 5 deletions
|
@ -7,11 +7,7 @@ use syntax::{
|
||||||
|
|
||||||
use crate::{db::AstDatabase, name::AsName, AttrId, LazyMacroId, MacroCallKind, MacroCallLoc};
|
use crate::{db::AstDatabase, name::AsName, AttrId, LazyMacroId, MacroCallKind, MacroCallLoc};
|
||||||
|
|
||||||
pub(crate) fn process_macro_input(
|
pub fn process_macro_input(db: &dyn AstDatabase, node: SyntaxNode, id: LazyMacroId) -> SyntaxNode {
|
||||||
db: &dyn AstDatabase,
|
|
||||||
node: SyntaxNode,
|
|
||||||
id: LazyMacroId,
|
|
||||||
) -> SyntaxNode {
|
|
||||||
let loc: MacroCallLoc = db.lookup_intern_macro(id);
|
let loc: MacroCallLoc = db.lookup_intern_macro(id);
|
||||||
|
|
||||||
match loc.kind {
|
match loc.kind {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue