rustc_metadata::rmeta::encoder

Macro empty_proc_macro

Source
macro_rules! empty_proc_macro {
    ($self:ident) => { ... };
}
Expand description

If the current crate is a proc-macro, returns early with LazyArray::default(). This is useful for skipping the encoding of things that aren’t needed for proc-macro crates.