pub fn emulate_attributelike_macro_expansion<'a, F>(
    file: File,
    macro_paths_and_proc_macro_fns: &[(&'a str, F)]
) -> Result<(), Error>
Expand description

Searches the given Rust source code file for attribute-like macro calls and calls the functions that define how to expand them.

This function behaves just like emulate_functionlike_macro_expansion, but with attribute-like macros like #[foo] instead of function-like macros like foo!(). See that function’s documentation for details and an example of use.