You can’t “turn off the borrow checker” in Rust
https://words.steveklabnik.com/you-can-t-turn-off-the-borrow-checker-in-rust [words.steveklabnik.com]
2018-09-17 18:26
Every once in a while, someone will talk about unsafe in Rust, and how it “turns off the borrow checker.” I think this framing leads to misconceptions about unsafe and how it interacts with safe code.
So what does unsafe actually do? Unsafe Rust is a superset of Safe Rust. Unsafe never changes the semantics of Rust code. It instead adds new features that you can only use inside an unsafe block.
source: L