News for hackers. Stuff that matters.
Re:Four limitations of Rust's borrow checker by rendaw on Tuesday December 24, 2024 @12:03PM (#42503145)
Yo, everyone's interpreting parent's comment in the worst way possible: assuming they're trying to do unsound refactorings. There are plenty of places where a refactoring is fine, but the rust analyzer simply can't verify the change (async `FnOnce` for instance) gives up and forces the user to work around it.

I love Rust (comparatively) but yes, this is a thing, and it's bad.

Re:Four limitations of Rust's borrow checker by joshka on Tuesday December 24, 2024 @04:48PM (#42505179)
Yeah, Rust-analyzer's palette of refactorings is woefully underpowered in comparison to other languages / tooling I've used (e.g. Resharper, IntelliJ). There's a pretty high complexity bar to implementing these too unfortunately. I say this as someone that has contributed to RA and who will contribute more in the future.