about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/removed.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-07-14 08:18:03 +0200
committerRalf Jung <post@ralfj.de>2024-07-14 08:18:03 +0200
commit2dd5369eda4337f44a8bb666bfd38b2c5e3b0fde (patch)
tree7de7922ebcdfb5916387cdc6ce2ad2318da5e500 /compiler/rustc_feature/src/removed.rs
parentc1e3f03e602a7af08049f38ffafa09622f28e1d0 (diff)
downloadrust-2dd5369eda4337f44a8bb666bfd38b2c5e3b0fde.tar.gz
rust-2dd5369eda4337f44a8bb666bfd38b2c5e3b0fde.zip
clarify the meaning of the version number for accepted/removed features
Diffstat (limited to 'compiler/rustc_feature/src/removed.rs')
-rw-r--r--compiler/rustc_feature/src/removed.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs
index f13aa506c1e..80a108d2fc8 100644
--- a/compiler/rustc_feature/src/removed.rs
+++ b/compiler/rustc_feature/src/removed.rs
@@ -32,6 +32,12 @@ declare_features! (
     // feature-group-start: removed features
     // -------------------------------------------------------------------------
 
+    // Note that the version indicates when it got *removed*.
+    // When moving an unstable feature here, set the version number to
+    // `CURRENT RUSTC VERSION` with ` ` replaced by `_`.
+    // (But not all features below do this properly; many indicate the
+    // version they got originally added in.)
+
     /// Allows using the `amdgpu-kernel` ABI.
     (removed, abi_amdgpu_kernel, "1.77.0", Some(51575), None),
     (removed, advanced_slice_patterns, "1.0.0", Some(62254),