Skip to content

Commit ba50d1b

Browse files
Update name of active.rs to unstable.rs
This file was renamed in rust-lang/rust#116550
1 parent b0ee9ec commit ba50d1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: src/feature-gates.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ See ["Stability in code"][adding] in the "Implementing new features" section for
2020

2121
To 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
@@ -45,7 +45,7 @@ To remove a feature gate, follow these steps:
4545
To rename a feature gate, follow these steps (the first two are the same steps
4646
to 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
@@ -64,7 +64,7 @@ to follow when [removing a feature gate][removing]):
6464
```
6565

6666
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
6868
declaration:
6969

7070
```rust,ignore

Diff for: src/implementing_new_features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ a new unstable feature:
123123

124124
1. Add the feature name to `rustc_span/src/symbol.rs` in the `Symbols {...}` block.
125125

126-
1. Add a feature gate declaration to `rustc_feature/src/active.rs` in the active
126+
1. Add a feature gate declaration to `rustc_feature/src/unstable.rs` in the active
127127
`declare_features` block.
128128

129129
```rust ignore

0 commit comments

Comments
 (0)