[][src]Function qualify_derive::fix

pub fn fix(
    attr: TokenStream,
    item: TokenStream,
    target: TokenStream,
    imports: &[TokenStream],
    passthru: Option<TokenStream>
) -> TokenStream

Entry function to call from the proc_macro_attribute function.

Pay attention to the mixed use of proc_macro::TokenStream and proc_macro2::TokenStream in the signature.

See the README for detailed explanation.