mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-02 14:07:10 +00:00
When encountering a E0382 borrow error involving an `Option` or `Result` provide a suggestion to use `.as_ref()` on the prior move location to avoid the move. Fix #84165.