Macro rustc_metadata::rmeta::encoder::empty_proc_macro
source · macro_rules! empty_proc_macro {
($self:ident) => { ... };
}
Expand description
If the current crate is a proc-macro, returns early with Lazy:empty()
.
This is useful for skipping the encoding of things that aren’t needed
for proc-macro crates.