Skip to content

Commit

Permalink
Rollup merge of rust-lang#90472 - joshtriplett:clarify-feature-accept…
Browse files Browse the repository at this point in the history
…ance, r=jyn514

Clarify what to do with accepted feature gates

The documentation only referenced `removed.rs`, but feature gates for
accepted features move to `accepted.rs`.
  • Loading branch information
matthiaskrgr authored Nov 2, 2021
2 parents d3ab634 + eb23a73 commit 623160b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion compiler/rustc_feature/src/active.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,13 @@ impl Feature {
}
}

// See https://rustc-dev-guide.rust-lang.org/feature-gates.html#feature-gates for more
// documentation about handling feature gates.
//
// If you change this, please modify `src/doc/unstable-book` as well.
//
// Don't ever remove anything from this list; move them to `removed.rs`.
// Don't ever remove anything from this list; move them to `accepted.rs` if
// accepted or `removed.rs` if removed.
//
// The version numbers here correspond to the version in which the current status
// was set. This is most important for knowing when a particular feature became
Expand Down

0 comments on commit 623160b

Please sign in to comment.