Trait rustc_driver::pretty::HirPrinterSupport
source · trait HirPrinterSupport<'hir>: PpAnn {
fn sess(&self) -> &Session;
fn hir_map(&self) -> Option<Map<'hir>>;
fn pp_ann(&self) -> &dyn PpAnn;
}
Required Methods
Provides a uniform interface for re-extracting a reference to a
Session
from a value that now owns it.
Provides a uniform interface for re-extracting a reference to an
hir_map::Map
from a value that now owns it.