slice::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 does not have this. I thought "maybe they have a way to check it linear time!?!?". Then I checked source, apparently, it just forwarded to hashbrown::HashMap::get_many_mut, which does a O(n^2) check as well. So maybe we should add this warning to HashMap::get_disjoint_mut as well.