@@ -20,12 +20,12 @@ See ["Stability in code"][adding] in the "Implementing new features" section for
2020
2121To remove a feature gate, follow these steps:
2222
23- 1 . Remove the feature gate declaration in ` rustc_feature/src/active .rs ` .
23+ 1 . Remove the feature gate declaration in ` rustc_feature/src/unstable .rs ` .
2424 It will look like this:
2525
2626 ``` rust,ignore
2727 /// description of feature
28- (active , $feature_name, "$version", Some($tracking_issue_number), $edition)
28+ (unstable , $feature_name, "$version", Some($tracking_issue_number), $edition)
2929 ```
3030
31312 . Add a modified version of the feature gate declaration that you just
@@ -45,12 +45,12 @@ To remove a feature gate, follow these steps:
4545To rename a feature gate, follow these steps (the first two are the same steps
4646to follow when [ removing a feature gate] [ removing ] ):
4747
48- 1 . Remove the old feature gate declaration in ` rustc_feature/src/active .rs ` .
48+ 1 . Remove the old feature gate declaration in ` rustc_feature/src/unstable .rs ` .
4949 It will look like this:
5050
5151 ``` rust,ignore
5252 /// description of feature
53- (active , $old_feature_name, "$version", Some($tracking_issue_number), $edition)
53+ (unstable , $old_feature_name, "$version", Some($tracking_issue_number), $edition)
5454 ```
5555
56562 . Add a modified version of the old feature gate declaration that you just
@@ -64,12 +64,12 @@ to follow when [removing a feature gate][removing]):
6464 ```
6565
66663 . Add a feature gate declaration with the new name to
67- ` rustc_feature/src/active .rs ` . It should look very similar to the old
67+ ` rustc_feature/src/unstable .rs ` . It should look very similar to the old
6868 declaration:
6969
7070 ``` rust,ignore
7171 /// description of feature
72- (active , $new_feature_name, "$version", Some($tracking_issue_number), $edition)
72+ (unstable , $new_feature_name, "$version", Some($tracking_issue_number), $edition)
7373 ```
7474
7575
0 commit comments