Make Hash{Set,Map}::with_hasher unstably const

This commit is contained in:
Nixon Enraght-Moony
2022-10-02 12:57:10 +01:00
parent c2590e6e89
commit 346a49fe48
5 changed files with 17 additions and 2 deletions

View File

@@ -351,6 +351,7 @@
// Only used in tests/benchmarks:
//
// Only for const-ness:
#![feature(const_collections_with_hasher)]
#![feature(const_io_structs)]
#![feature(const_ip)]
#![feature(const_ipv4)]