macro_rules! import {
($name:ident) => { ... };
() => { ... };
}
Expand description
creates a module with any name (by default proc_macro
) that
re-exports either all of proc_macro
or all of proc_macro2
items.
should not be used in a proc-macro
context if the proc_macro2
feature is set