diff options
| author | skippy10110 <pmlyon@hotmail.ca> | 2022-03-15 19:28:53 -0300 |
|---|---|---|
| committer | skippy10110 <pmlyon@hotmail.ca> | 2022-03-15 19:48:52 -0300 |
| commit | e4f1179fa6b044adfd52d45ce35bfe4f5ad04c8f (patch) | |
| tree | 265df6cb09a2b605b80d4610a3c78bda8f5b004d /compiler/rustc_feature/src/active.rs | |
| parent | 83460d5e624e9dff72ea8c8f6e79c10af10a3aa1 (diff) | |
| download | rust-e4f1179fa6b044adfd52d45ce35bfe4f5ad04c8f.tar.gz rust-e4f1179fa6b044adfd52d45ce35bfe4f5ad04c8f.zip | |
Add deprecated_safe feature gate and attribute, cc #94978
Diffstat (limited to 'compiler/rustc_feature/src/active.rs')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index d9748b19e13..02cdaa3b958 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -364,6 +364,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 using `#[deprecated_safe]` to deprecate the safeness of a function or trait + (active, deprecated_safe, "1.61.0", Some(94978), 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. |
