`alloc`-only `HashMap`?
Rust Internals [Unofficial]
March 11, 2026
JarredAllen:
What stops us from just moving the type definition to
allocand removing the default type parameter there, and providing the default again via a type alias instd?
I don't actually know if that works. If it does, then I agree this seems obvious.
(I feel like people think it doesn't, and that's why it hasn't been done already, but maybe the gestalt is wrong and we can just do it?)
Discussion in the ATmosphere