@@ -20,12 +20,12 @@ See ["Stability in code"][adding] in the "Implementing new features" section for
20
20
21
21
To remove a feature gate, follow these steps:
22
22
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 ` .
24
24
It will look like this:
25
25
26
26
``` rust,ignore
27
27
/// description of feature
28
- (active , $feature_name, "$version", Some($tracking_issue_number), $edition)
28
+ (unstable , $feature_name, "$version", Some($tracking_issue_number), $edition)
29
29
```
30
30
31
31
2 . Add a modified version of the feature gate declaration that you just
@@ -45,12 +45,12 @@ To remove a feature gate, follow these steps:
45
45
To rename a feature gate, follow these steps (the first two are the same steps
46
46
to follow when [ removing a feature gate] [ removing ] ):
47
47
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 ` .
49
49
It will look like this:
50
50
51
51
``` rust,ignore
52
52
/// 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)
54
54
```
55
55
56
56
2 . 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]):
64
64
```
65
65
66
66
3 . 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
68
68
declaration:
69
69
70
70
``` rust,ignore
71
71
/// 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)
73
73
```
74
74
75
75
0 commit comments