Enum syntax::feature_gate::UnstableFeatures
[−]
[src]
pub enum UnstableFeatures { Disallow, Allow, Cheat, }
Unstable (
rustc_private
)Variants
Disallow
Unstable (
rustc_private
)Hard errors for unstable features are active, as on beta/stable channels.
Allow
Unstable (
rustc_private
)Allow features to me activated, as on nightly.
Cheat
Unstable (
rustc_private
)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.
Trait Implementations
Derived Implementations
impl Copy for UnstableFeatures
[src]
impl Clone for UnstableFeatures
[src]
fn clone(&self) -> UnstableFeatures
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more