Smarter borrow checking for function calls

I believe this is already implemented on nightly: https://github.com/rust-lang/rust/issues/46037

[blog post] Nested method calls via two-phase borrowing contains a proper explanation and discussion of the proposed solution that I believe got implemented.

1 Like