# Rust 1.86.0 pre-release testing

**URL:** <https://internals.rust-lang.org/t/rust-1-86-0-pre-release-testing/22678>\
**Category:** announcements\
**Created:** [April 1, 2025, 8:54pm UTC](https://internals.rust-lang.org/t/rust-1-86-0-pre-release-testing/22678 "2025-04-01T20:54:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [April 1, 2025, 8:54pm UTC](https://internals.rust-lang.org/t/rust-1-86-0-pre-release-testing/22678/1 "2025-04-01T20:54:01Z")

</div>

The 1.86.0 pre-release is ready for testing. The release is scheduled for April 3. [Release notes can be found here.](https://dev-doc.rust-lang.org/1.86.0/releases.html)

You can try it out locally by running:

```plaintext
RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable

```

The index is [https://dev-static.rust-lang.org/dist/2025-04-01/index.html](https://dev-static.rust-lang.org/dist/2025-04-01/index.html).

The release team is also thinking about changes to our pre-release process: we'd love your feedback [on this GitHub issue](https://github.com/rust-lang/release-team/issues/16).

---

<div class="post-metadata">

**Author:** ![zirconium-n](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/zirconium-n/32/9078_2.png) [@zirconium-n](https://internals.rust-lang.org/u/zirconium-n)\
**Post date:** [April 2, 2025, 3:56am UTC](https://internals.rust-lang.org/t/rust-1-86-0-pre-release-testing/22678/2 "2025-04-02T03:56:42Z")

</div>

[slice::get\_disjoint\_mut](https://doc.rust-lang.org/beta/std/primitive.slice.html#method.get_disjoint_mut) has a warning like this: `This method does a O(n^2) check to check that there are no overlapping indices, so be careful when passing many indices.` But [HashMap::get\_disjoint\_mut](https://doc.rust-lang.org/beta/std/collections/struct.HashMap.html#method.get_disjoint_mut) does not have this. I thought "maybe they have a way to check it linear time!?!?". Then I checked source, apparently, it just [forwarded](https://doc.rust-lang.org/beta/src/std/collections/hash/map.rs.html#1039-1048) to [hashbrown::HashMap::get\_many\_mut](https://docs.rs/hashbrown/latest/hashbrown/struct.HashMap.html#method.get_many_mut), which [does a O(n^2) check as well](https://docs.rs/hashbrown/latest/src/hashbrown/raw/mod.rs.html#1206-1224). So maybe we should add this warning to `HashMap::get_disjoint_mut` as well.

---

<div class="post-metadata">

**Author:** ![josh](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/josh/32/5934_2.png) [@josh](https://internals.rust-lang.org/u/josh)\
**Post date:** [April 2, 2025, 3:32pm UTC](https://internals.rust-lang.org/t/rust-1-86-0-pre-release-testing/22678/3 "2025-04-02T15:32:54Z")

</div>

That's a great catch. Please do file an issue or PR for adding that documentation to `HashMap::get_disjoint_mut`.

---

<div class="post-metadata">

**Author:** ![zirconium-n](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/zirconium-n/32/9078_2.png) [@zirconium-n](https://internals.rust-lang.org/u/zirconium-n)\
**Post date:** [April 3, 2025, 3:14am UTC](https://internals.rust-lang.org/t/rust-1-86-0-pre-release-testing/22678/4 "2025-04-03T03:14:22Z")

</div>

Opened an issue.

> <https://github.com/rust-lang/rust/issues/139296>
>
> \### Location
> 
> \[slice::get\_disjoint\_mut\](https://doc.rust-lang.org/beta/std/primi…tive.slice.html#method.get\_disjoint\_mut) got a warning about O(n^2) check for overlapping indices, but \[HashMap::get\_disjoint\_mut\](https://doc.rust-lang.org/beta/std/collections/struct.HashMap.html#method.get\_disjoint\_mut) does not. 
> 
> \### Summary
> 
> I think we should add this warning to \`HashMap::get\_disjoint\_mut\` as well.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [September 25, 2026, 3:15am UTC](https://internals.rust-lang.org/t/rust-1-86-0-pre-release-testing/22678/5 "2026-09-25T03:15:14Z")

</div>

Closed on September 25, 2026, 3:15am UTC

This topic was automatically closed 540 days after the last reply. New replies are no longer allowed.
