rust/compiler/rustc_mir
bors 6df26f897c Auto merge of #84353 - estebank:as-ref-mir, r=davidtwco
Suggest `.as_ref()` on borrow error involving `Option`/`Result`

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.
2021-04-20 14:05:12 +00:00
..
src Auto merge of #84353 - estebank:as-ref-mir, r=davidtwco 2021-04-20 14:05:12 +00:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00