about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2022-02-16 18:48:33 -0500
committerJacob Pratt <jacob@jhpratt.dev>2022-03-09 16:32:47 -0500
commit5636655d0f0afb0d509cd86ad479773f5854630e (patch)
tree384cfb3eae42fab06a0f55cebffc9d2144f6d80a /compiler/rustc_feature/src
parent6efc8e34d8b83de7f5b1e47d4bbbe0f2daa385f8 (diff)
downloadrust-5636655d0f0afb0d509cd86ad479773f5854630e.tar.gz
rust-5636655d0f0afb0d509cd86ad479773f5854630e.zip
New `deprecated_suggestion` feature, use in tests
Diffstat (limited to 'compiler/rustc_feature/src')
-rw-r--r--compiler/rustc_feature/src/active.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index 1f7dc769512..d39847f7b97 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -368,6 +368,8 @@ declare_features! (
     (active, default_alloc_error_handler, "1.48.0", Some(66741), None),
     /// Allows default type parameters to influence type inference.
     (active, default_type_parameter_fallback, "1.3.0", Some(27336), None),
+    /// Allows having using `suggestion` in the `#[deprecated]` attribute.
+    (active, deprecated_suggestion, "1.61.0", Some(94785), None),
     /// Allows `#[derive(Default)]` and `#[default]` on enums.
     (active, derive_default_enum, "1.56.0", Some(86985), None),
     /// Tells rustdoc to automatically generate `#[doc(cfg(...))]`.