Module rustc_metadata::rmeta::encoder [−][src]
Macros
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.
Structs
Traits
Helper trait to allow overloading EncodeContext::lazy
for iterators.
Functions
Used to prefetch queries which will be needed later by metadata encoding. Only a subset of the queries are actually prefetched to keep this code smaller.
Whether we should encode MIR.