File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1- //! # Feature gating
1+ //! # Feature gates
22//!
3- //! This module implements the gating necessary for preventing certain compiler
4- //! features from being used by default. This module will crawl a pre-expanded
5- //! AST to ensure that there are no features which are used that are not
6- //! enabled.
3+ //! This crate declares the set of past and present unstable features in the compiler.
4+ //! Feature gate checking itself is done in `libsyntax/feature_gate/check.rs` at the moment.
75//!
86//! Features are enabled in programs via the crate-level attributes of
97//! `#![feature(...)]` with a comma-separated list of features.
108//!
11- //! For the purpose of future feature-tracking, once code for detection of feature
12- //! gate usage is added , *do not remove it again* even once the feature
13- //! becomes stable .
9+ //! For the purpose of future feature-tracking, once a feature gate is added,
10+ //! even if it is stabilized or removed , *do not remove it*. Instead, move the
11+ //! symbol to the `accepted` or `removed` modules respectively .
1412
1513mod accepted;
1614mod removed;
You can’t perform that action at this time.
0 commit comments