Skip to content

Commit 597f889

Browse files
committed
Clarify what to do with accepted feature gates
The documentation only referenced `removed.rs`, but feature gates for accepted features move to `accepted.rs`.
1 parent ff0e148 commit 597f889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_feature/src/active.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ impl Feature {
103103

104104
// If you change this, please modify `src/doc/unstable-book` as well.
105105
//
106-
// Don't ever remove anything from this list; move them to `removed.rs`.
106+
// Don't ever remove anything from this list; move them to `accepted.rs` if
107+
// accepted or `removed.rs` if removed.
107108
//
108109
// The version numbers here correspond to the version in which the current status
109110
// was set. This is most important for knowing when a particular feature became

0 commit comments

Comments
 (0)