Trait rustc_expand::base::AttrProcMacro
source · pub trait AttrProcMacro {
fn expand<'cx>(
&self,
ecx: &'cx mut ExtCtxt<'_>,
span: Span,
annotation: TokenStream,
annotated: TokenStream
) -> Result<TokenStream, ErrorGuaranteed>;
}