You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use several feature gates in Ramp, two of which are now stable. However, since I use the nightly compiler, I have no idea if they're stable in the stable build of the compiler without going and investigating when they were stabilized. It would be nice if it said which version they were stabilized in so I just have to check which version the stable release is.
The text was updated successfully, but these errors were encountered:
To accomplish this, we alter the checks in `rustc::middle::stability` to
use the `StabilityLevel` defined in `syntax::attr` (which includes the
version in which the feature was stabilized) rather than the local
`StabilityLevel` in the same module, and make the
`declared_stable_lang_features` field of
`syntax::feature_gate::Features` hold a Vec of feature-name, span
tuples (in analogy to the `declared_lib_features` field) rather than
just spans.
This is in the matter of issue rust-lang#33394.
…notes_version_stabilized, r=brson
stable features lint warning mentions version stabilized
To accomplish this, we alter the checks in `rustc::middle::stability` to
use the `StabilityLevel` defined in `syntax::attr` (which includes the
version in which the feature was stabilized) rather than the local
`StabilityLevel` in the same module, and make the
`declared_stable_lang_features` field of
`syntax::feature_gate::Features` hold a Vec of feature-name, span
tuples (in analogy to the `declared_lib_features` field) rather than
just spans.
Fixesrust-lang#33394.
![stable_features_version_lint_before_and_after](https://cloud.githubusercontent.com/assets/1076988/15659237/5d952a3a-267c-11e6-9181-c9e612eefd7d.png)
r? @brson (tagging Brian because he [wrote](rust-lang#21958) the lint)
I use several feature gates in Ramp, two of which are now stable. However, since I use the nightly compiler, I have no idea if they're stable in the stable build of the compiler without going and investigating when they were stabilized. It would be nice if it said which version they were stabilized in so I just have to check which version the stable release is.
The text was updated successfully, but these errors were encountered: