Enum syntax::feature_gate::UnstableFeatures[][src]

pub enum UnstableFeatures {
    Disallow,
    Allow,
    Cheat,
}

Variants

Hard errors for unstable features are active, as on beta/stable channels.

Allow features to be activated, as on nightly.

Errors are bypassed for bootstrapping. This is required any time during the build that feature-related lints are set to warn or above because the build turns on warnings-as-errors and uses lots of unstable features. As a result, this is always required for building Rust itself.

Methods

impl UnstableFeatures
[src]

Trait Implementations

impl Clone for UnstableFeatures
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for UnstableFeatures
[src]

impl PartialEq for UnstableFeatures
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for UnstableFeatures
[src]

impl Hash for UnstableFeatures
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations