Except wlifetime came after Rust. Unless the Rust devs have a time machine, they can't have copy-pasted it. It also only catches some common errors, not as comprehensive as the borrow checker.
Straight up wrong. Rust borrow checker was mature much before wlifetime arrived in Clang (2019). wlifetime still isn't as comprehensive as the borrow checker.
-16
u/[deleted] Apr 15 '21
[removed] — view removed comment