Enum rustc_typeck::session::config::UnstableFeatures [−] [src]

pub enum UnstableFeatures {
    Disallow,
    Default,
    Cheat,
}
Unstable

Variants

Disallow
Unstable

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

Default
Unstable

Use the default lint levels

Cheat
Unstable

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 this is always required for building Rust itself.

Trait Implementations

Derived Implementations

impl Copy for UnstableFeatures

impl Clone for UnstableFeatures

fn clone(&self) -> UnstableFeatures

fn clone_from(&mut self, source: &Self)