Function rustc_expand::mbe::macro_rules::compile_declarative_macro
source · pub fn compile_declarative_macro(
sess: &Session,
features: &Features,
def: &Item,
edition: Edition
) -> (SyntaxExtension, Vec<(usize, Span)>)
Expand description
Converts a macro item into a syntax extension.