Function rustc_expand::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.