This is like punishing a kid for not knowing the laws of astrophysics.
Try to think of Rust as a very promising, talented young language with great potential, but still with a lot to learn.
Also, the underpinning design decisions made in Rust is influenced by ML languages, and too keep the performance high while still being type-safe, the compiler needs to have a rigorous rule-set and limited set of allowed operations available.
If people want the “freedom” to shoot themselves in the head or enjoy other types of self-inflicted pain, there is always C++, ready and able, waiting to abuse you in any way you so desire.