Skip to content

Commit 80723b9

Browse files
committed
direct people to the exact nightly version rather than forge
1 parent 0e08aaf commit 80723b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/feature-lifecycle/stabilization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You'll need to change that to a `#[stable]` attribute with a version:
6868
#[stable(feature = "total_cmp", since = "1.61.0")]
6969
```
7070

71-
Note that, the version number is updated to be the version number of the stable release where this feature will appear. This can be found by consulting [the forge](https://forge.rust-lang.org/#current-release-versions). Specifically, you'll want to use the version labelled "Nightly". That's two versions higher than the current stable release, as what's currently in beta will be the next stable release, and any change you're making now will be in the one after that.
71+
Note that, the version number is updated to be the version number of the stable release where this feature will appear. This can be found by consulting [`src/version`](https://github.com/rust-lang/rust/blob/master/src/version) on the current master branch of `rust-lang/rust`. Specifically, you'll want to use the version labelled "Nightly". That's two versions higher than the current stable release, as what's currently in beta will be the next stable release, and any change you're making now will be in the one after that.
7272

7373
### Remove feature gates from doctests
7474

@@ -105,7 +105,7 @@ To stabilize a feature, follow these steps:
105105
0. Create a stabiliation report in the tracking issue for the feature being stabilized.
106106
0. (Optional) For partial stabilizations, create a new partial stabilization PR for the subset of the issue being stabilized under a newly introduced feature name.
107107
0. Ask a **@rust-lang/libs-api** member to start an FCP on the tracking issue and wait for the FCP to complete (with `disposition-merge`).
108-
0. Change `#[unstable(...)]` to `#[stable(since = "version")]`. `version` should be the *current nightly*, i.e. stable+2. You can see which version is the current nightly [on Forge](https://forge.rust-lang.org/#current-release-versions).
108+
0. Change `#[unstable(...)]` to `#[stable(since = "version")]`. `version` should be the *current nightly*, i.e. stable+2. You can see which version is the current nightly in [`src/version`](https://github.com/rust-lang/rust/blob/master/src/version) on the master branch of `rust-lang/rust`.
109109
0. Remove `#![feature(...)]` from any test or doc-test for this API. If the feature is used in the compiler or tools, remove it from there as well.
110110
0. If applicable, change `#[rustc_const_unstable(...)]` to `#[rustc_const_stable(since = "version")]`.
111111
0. Open a PR against `rust-lang/rust`.

0 commit comments

Comments
 (0)