You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was noted in RFC 911 that unsafe const fn was an unresolved question.
Along with #913, adding support for unsafe const functions will allow constructing empty collections in statics (most likely wrapped with a mutex or similar). At the moment, this isn't possible as Unique's constructor is unsafe, and hence cannot be const (the compiler rejects such a definition)