Hasty Briefsbeta

  • #Programming
  • #Rust
  • #Release
  • Rust 1.86.0 introduces trait upcasting, allowing trait objects to be coerced to supertrait references.
  • New `get_disjoint_mut` method enables safe mutable indexing of multiple elements in `HashMap` and slices.
  • Safe functions can now be marked with `#[target_feature]`, with restrictions on their usage.
  • Debug assertions for non-null pointers added for soundness in debug mode.
  • The `missing_abi` lint now warns by default, encouraging explicit ABI specification.
  • Deprecation warning issued for the `i586-pc-windows-msvc` target, to be removed in Rust 1.87.0.
  • Several APIs stabilized, including `{float}::next_down`, `{float}::next_up`, and `Vec::pop_if`.
  • New const context stabilizations for APIs like `hint::black_box` and `str::split_at`.