Skip to content

Commit bc26dbb

Browse files
authored
Rollup merge of #90472 - joshtriplett:clarify-feature-acceptance, 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`.
2 parents bc487f7 + eb23a73 commit bc26dbb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

compiler/rustc_feature/src/active.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,13 @@ impl Feature {
101101
}
102102
}
103103

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

0 commit comments

Comments
 (0)