]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_feature/src/removed.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_feature / src / removed.rs
index f5f944db5e90b23cbbd63a3a381beb997e566ff1..fae9bd633afffc829972012f85e9494649cd2077 100644 (file)
@@ -104,6 +104,9 @@ declare_features! (
     (removed, impl_trait_in_bindings, "1.55.0", Some(63065), None,
      Some("the implementation was not maintainable, the feature may get reintroduced once the current refactorings are done")),
     (removed, import_shadowing, "1.0.0", None, None, None),
+    /// 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")),
     /// 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.