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