rustc_expand::base

Trait BangProcMacro

Source
pub trait BangProcMacro {
    // Required method
    fn expand<'cx>(
        &self,
        ecx: &'cx mut ExtCtxt<'_>,
        span: Span,
        ts: TokenStream,
    ) -> Result<TokenStream, ErrorGuaranteed>;
}

Required Methods§

Source

fn expand<'cx>( &self, ecx: &'cx mut ExtCtxt<'_>, span: Span, ts: TokenStream, ) -> Result<TokenStream, ErrorGuaranteed>

Implementors§