With Rust it's usually just a fluke that can be fixed by doing that, but C++ linker errors may indicate the start of several frustrating hours. That's been my experience at least.
Okay, but genuinely in what cases the borrow checker caused issues for you? Cause I use Rust for a few years now and have not yet encountered the infamous fight with the borrow checker.
Also, there's a "new" and "better" borrow checker coming in 2024 edition.