diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-06-25 22:06:17 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-06-25 22:06:17 +0100 |
commit | 0129790a8f84a0858abcb1448e1052caa01fc41c (patch) | |
tree | ae3054305d4ee1c610135358e377a2331eaee871 /crates/ra_mbe/src/tests.rs | |
parent | 4b0c37bd6e4cb3d47614ec6b42fb1deef9bc9324 (diff) | |
parent | 3a2a13756f325b1dd8ddd54a0a0b24b99180fb82 (diff) |
Merge #1432
1432: Make fill_match_arm work with trivial arm r=matklad a=ironyman
Addresses this issue https://github.com/rust-analyzer/rust-analyzer/issues/1399
One minor issue I noticed is that complete_postfix creates an arm like this
```
match E::X {
<|>_ => {},
}
```
but fill_match_arms creates arms like this
```
E::X => (),
```
Co-authored-by: ironyman <[email protected]>
Co-authored-by: Changyu Li <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src/tests.rs')
0 files changed, 0 insertions, 0 deletions