Enum rustc::ty::item_path::RootMode [] [src]

pub enum RootMode {
    Local,
    Absolute,
}
🔬 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?

Variants

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

Try to make a path relative to the local crate. In particular, local paths have no prefix, and if the path comes from an extern crate, start with the path to the extern crate declaration.

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

Always prepend the crate name to the path, forming an absolute path from within a given set of crates.

Trait Implementations

impl Debug for RootMode
[src]

[src]

Formats the value using the given formatter. Read more