diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-20 18:16:35 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-20 18:16:35 +0000 |
commit | 5aec3e4a7b21855fb4688e466d4f5bee9feabe2e (patch) | |
tree | 41a304a33955dd12d1f0ec127a80551367c8ffa0 /crates/ra_hir_def/src/nameres/tests.rs | |
parent | 7a5fd1f3f3c4a8f64407f9bd08a3d5e7f79417e0 (diff) | |
parent | bcb2ea912bf96f38505c67a0b6896c6a5ac278ed (diff) |
Merge #2329
2329: fix 2190; add test for "replace if let with match" r=matklad a=fkohlgrueber
Fixes #2190.
Check that the expression doesn't contain newlines only for "replace if let with match". For "join lines", enclosing blocks for multiline expressions should be removed.
Co-authored-by: Felix Kohlgrüber <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/nameres/tests.rs')
0 files changed, 0 insertions, 0 deletions