you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 8 hours ago*

The borrow checker is a feature in the compiler. It only ensures that the source code doesn't violate its rules at compile time, and if it does, stops the compilation and shows an error message. If the borrow checker is disabled, the code will be compiled even if borrowing rules are violated (as long as the source code is otherwise valid).

In short: removing the borrow checker turns Rust into C.

  • source
  • parent