declare_interior_mutable_const (and borrow_interior_mutable_const?) should probably use Freeze #14222
Closed as not planned
declare_interior_mutable_const (and borrow_interior_mutable_const?) should probably use Freeze #14222
instead of hardcoding a list of known-to-be-interior-mutable types and then doing a recursive search for them inside of a struct.
Mentioned in #14125 (comment)
Freezetrait: Tracking Issue for theFreezetrait rust#121675