Trait rustc_driver::pretty::PrinterSupport[][src]

trait PrinterSupport: PpAnn {
    fn sess<'a>(&'a self) -> &'a Session;
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?

Required Methods

🔬 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.

🔬 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.

(Rust does not yet support upcasting from a trait object to an object for one of its super-traits.)

Implementors