Struct rustc::mir::VisibilityScopeInfo [] [src]

pub struct VisibilityScopeInfo {
    pub lint_root: NodeId,
    pub safety: Safety,
}
🔬 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

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

A NodeId with lint levels equivalent to this scope's lint levels.

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

The unsafe block that contains this node.

Trait Implementations

impl<'tcx> HashStable<StableHashingContext<'tcx>> for VisibilityScopeInfo
[src]

[src]

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

impl Clone for VisibilityScopeInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for VisibilityScopeInfo
[src]

[src]

Formats the value using the given formatter.