Struct rustc_driver::pretty::TypedAnnotation [−][src]
struct TypedAnnotation<'a, 'tcx: 'a> {
tcx: TyCtxt<'a, 'tcx, 'tcx>,
tables: Cell<&'a TypeckTables<'tcx>>,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Fields
tcx: TyCtxt<'a, 'tcx, 'tcx>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
tables: Cell<&'a TypeckTables<'tcx>>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl<'b, 'tcx> HirPrinterSupport<'tcx> for TypedAnnotation<'b, 'tcx>[src]
impl<'b, 'tcx> HirPrinterSupport<'tcx> for TypedAnnotation<'b, 'tcx>fn sess<'a>(&'a self) -> &'a Session[src]
fn sess<'a>(&'a self) -> &'a Session🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Provides a uniform interface for re-extracting a reference to a Session from a value that now owns it. Read more
fn hir_map<'a>(&'a self) -> Option<&'a Map<'tcx>>[src]
fn hir_map<'a>(&'a self) -> Option<&'a Map<'tcx>>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Provides a uniform interface for re-extracting a reference to an hir_map::Map from a value that now owns it. Read more
fn pp_ann<'a>(&'a self) -> &'a PpAnn[src]
fn pp_ann<'a>(&'a self) -> &'a PpAnn🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Produces the pretty-print annotation object. Read more
fn node_path(&self, id: NodeId) -> Option<String>[src]
fn node_path(&self, id: NodeId) -> Option<String>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Computes an user-readable representation of a path, if possible.
impl<'a, 'tcx> PpAnn for TypedAnnotation<'a, 'tcx>[src]
impl<'a, 'tcx> PpAnn for TypedAnnotation<'a, 'tcx>fn nested(&self, state: &mut State, nested: Nested) -> Result<()>[src]
fn nested(&self, state: &mut State, nested: Nested) -> Result<()>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn pre(&self, s: &mut State, node: AnnNode) -> Result<()>[src]
fn pre(&self, s: &mut State, node: AnnNode) -> Result<()>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn post(&self, s: &mut State, node: AnnNode) -> Result<()>[src]
fn post(&self, s: &mut State, node: AnnNode) -> Result<()>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn try_fetch_item(&self, NodeId) -> Option<&Item>[src]
fn try_fetch_item(&self, NodeId) -> Option<&Item>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Auto Trait Implementations
impl<'a, 'tcx> !Send for TypedAnnotation<'a, 'tcx>
impl<'a, 'tcx> !Send for TypedAnnotation<'a, 'tcx>impl<'a, 'tcx> !Sync for TypedAnnotation<'a, 'tcx>
impl<'a, 'tcx> !Sync for TypedAnnotation<'a, 'tcx>