diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-06-08 20:37:25 +0900 |
|---|---|---|
| committer | Yuki Okushi <jtitor@2k36.org> | 2022-06-08 21:11:15 +0900 |
| commit | 153f01e42ca07712d5a10bbbc28f8aa621fa1212 (patch) | |
| tree | 70e9af3f28381e9f2feb760a31d1a0416697936b /compiler/rustc_feature/src | |
| parent | d8f07654e83156de0da1807e2986a79cde04596c (diff) | |
| download | rust-153f01e42ca07712d5a10bbbc28f8aa621fa1212.tar.gz rust-153f01e42ca07712d5a10bbbc28f8aa621fa1212.zip | |
Remove the `infer_static_outlives_requirements` feature
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_feature/src/removed.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 1803f665013..306945ce17a 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -411,8 +411,6 @@ declare_features! ( (active, if_let_guard, "1.47.0", Some(51114), None), /// Allows using imported `main` function (active, imported_main, "1.53.0", Some(28937), None), - /// Allows inferring `'static` outlives requirements (RFC 2093). - (active, infer_static_outlives_requirements, "1.26.0", Some(54185), None), /// Allows associated types in inherent impls. (incomplete, inherent_associated_types, "1.52.0", Some(8995), None), /// Allow anonymous constants from an inline `const` block diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs index b546662dc14..f9c34e48b8f 100644 --- a/compiler/rustc_feature/src/removed.rs +++ b/compiler/rustc_feature/src/removed.rs @@ -109,6 +109,9 @@ declare_features! ( /// Allows in-band quantification of lifetime bindings (e.g., `fn foo(x: &'a u8) -> &'a u8`). (removed, in_band_lifetimes, "1.23.0", Some(44524), None, Some("removed due to unsolved ergonomic questions and added lifetime resolution complexity")), + /// Allows inferring `'static` outlives requirements (RFC 2093). + (removed, infer_static_outlives_requirements, "1.63.0", Some(54185), None, + Some("removed as it caused some confusion and discussion was inactive for years")), /// Lazily evaluate constants. This allows constants to depend on type parameters. (removed, lazy_normalization_consts, "1.46.0", Some(72219), None, Some("superseded by `generic_const_exprs`")), /// Allows using the `#[link_args]` attribute. |
