diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2021-04-18 09:37:47 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2021-04-19 17:14:37 -0700 |
| commit | 2763a0541cc8293a8fd1ac65fdc3b2977106a0a0 (patch) | |
| tree | 7d427e6b4ff4e42a99986b58c01d4fba3d7bb7d4 /library/std/src/sys/unsupported/stack_overflow.rs | |
| parent | 010c2368fa33ef08df3080228498db8d2ba5a93b (diff) | |
| download | rust-2763a0541cc8293a8fd1ac65fdc3b2977106a0a0.tar.gz rust-2763a0541cc8293a8fd1ac65fdc3b2977106a0a0.zip | |
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.
Diffstat (limited to 'library/std/src/sys/unsupported/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
