You can't "turn off the borrow checker" in Rust

from blog Steve Klabnik, | ↗ original
Sep 14 2018 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. Here’s some code that causes a borrow checker error: fn main() { let mut x = 5; let y =...