mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
parent
526dc4b5f5
commit
050dc93e00
@ -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…
Reference in New Issue
Block a user