you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 1 day ago (2 children)

It's that damn borrow checker again! Try the rust-- compiler, it disables that antifeature.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 17 hours ago (1 child)

    I am scared... But is rust without borrow checker actually a goodenough language ?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 16 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