Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you could disable the borrow checker globally, projects would do it, and it would become impossible to compile anything with it enabled.

You can already disable it locally: the unsafe keyword is for that.





The unsafe keyword doesn't disable the borrow checker... it lets you interact with different pointer types that aren't borrow checked, but if you're using the normal reference types in rust the same guardrails are still in place.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: