diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-21 13:59:03 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-21 13:59:03 +0000 |
commit | 5e827bd948ea206328b126345ab8e909978b3b9b (patch) | |
tree | a1a078720ff5a1f3fef051e97ad016f572e9e01a /crates/ra_ide/src/mock_analysis.rs | |
parent | 10867336e627f84a4886592c0a2764f5105bd0ce (diff) | |
parent | c3702a6b7143ca6e6186f3c0c07589ddd71b20fb (diff) |
Merge #3668
3668: disable invert-if assist for if-let r=matklad a=JoshMcguigan
Fixes #3281
This disables the invert-if assist for if-let expressions, fixing the bug reported in #3281.
While in the exact case reported in #3281, `if let Some(_) = foo { ...`, it would be possible to invert the if-let pattern, in most cases it will not be possible, so disabling this assist for if-let expressions seems reasonable.
Co-authored-by: Josh Mcguigan <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/mock_analysis.rs')
0 files changed, 0 insertions, 0 deletions