]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_feature/src/removed.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / compiler / rustc_feature / src / removed.rs
index 71c10eb650754699eb8d98456c7fe0a4dd2e46ca..29f4423ec85ac05e7bd7c728fe902087abe00a23 100644 (file)
@@ -144,6 +144,14 @@ declare_features! (
     (removed, external_doc, "1.54.0", Some(44732), None,
      Some("use #[doc = include_str!(\"filename\")] instead, which handles macro invocations")),
 
+     /// Allows casting raw pointers to `usize` during const eval.
+    (removed, const_raw_ptr_to_usize_cast, "1.55.0", Some(51910), None,
+     Some("at compile-time, pointers do not have an integer value, so these casts cannot be properly supported")),
+
+    /// Allows `impl Trait` in bindings (`let`, `const`, `static`).
+    (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")),
+
     // -------------------------------------------------------------------------
     // feature-group-end: removed features
     // -------------------------------------------------------------------------