Enum syntax::feature_gate::AttributeGate [] [src]

pub enum AttributeGate {
    Gated(Stability, &'static str, &'static strfn(_: &Features) -> bool),
    Ungated,
}
🔬 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?

Is gated by a given feature gate, reason and function to check if enabled

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

Ungated attribute, can be used on all release channels

Trait Implementations

impl Debug for AttributeGate
[src]

[src]

Formats the value using the given formatter. Read more