Enum syntax::feature_gate::AttributeGate
[−]
[src]
pub enum AttributeGate {
Gated(Stability, &'static str, &'static str, fn(_: &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
Gated(Stability, &'static str, &'static str, fn(_: &Features) -> bool)🔬 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
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?
Ungated attribute, can be used on all release channels