pub fn compile_declarative_macro(
sess: &Session,
features: &Features,
macro_def: &MacroDef,
ident: Ident,
attrs: &[Attribute],
span: Span,
node_id: NodeId,
edition: Edition,
) -> (SyntaxExtension, Vec<(usize, Span)>)
Expand description
Converts a macro item into a syntax extension.