about summary refs log tree commit diff
path: root/compiler/rustc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-14 10:05:22 +0200
committerGitHub <noreply@github.com>2024-07-14 10:05:22 +0200
commit82f13e721570f116b34cfe4014fc9915e95fc7aa (patch)
tree8b31c2395f762d5445501435dc8a2c498084a42b /compiler/rustc
parentdba010d7faa095139e244a0453c9d078564bda7f (diff)
parent2dd5369eda4337f44a8bb666bfd38b2c5e3b0fde (diff)
downloadrust-82f13e721570f116b34cfe4014fc9915e95fc7aa.tar.gz
rust-82f13e721570f116b34cfe4014fc9915e95fc7aa.zip
Rollup merge of #127710 - RalfJung:features, r=compiler-errors
clarify the meaning of the version number for accepted/removed features

For accepted features this is pretty clear, we even use the version number in the warning that says "feature has been stabilized, please remove feature gate".

For removed features we are inconsistent. [This PR](https://github.com/rust-lang/rust/commit/8cece636b22620717d6e242ec20fa8d5cf979072#diff-a82bdbaaa3c79096a30755dce8896aaf2885128a7f3f3a290072b767f05b6095) set the version to when it got removed, but [here](https://github.com/rust-lang/rust/pull/116958/files#diff-1ff08f89ad7e972538827e989fa63732c5918b4d0216ccd921de08698d6e18ca) they just got copied over so the version says when the feature was originally added. As far as I can tell, this version number is not actually used anywhere in user-visible diagnostics.
Diffstat (limited to 'compiler/rustc')
0 files changed, 0 insertions, 0 deletions