diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-09-21 09:06:24 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-21 09:06:24 +0000 |
| commit | 3b52d3181a44a0ccedd30c52e70ce84231918e72 (patch) | |
| tree | 0cf70a2a1d5db2b7afa39dafcb0fcd72ba05dc4d /editors/code/src/persistent_state.ts | |
| parent | e70cf706bb7c6c07e8c33b537ad24e5333aa5e75 (diff) | |
| parent | 7d90bb1f47e1ab6f0ac1d7a042d7161295cf9320 (diff) | |
| download | rust-3b52d3181a44a0ccedd30c52e70ce84231918e72.tar.gz rust-3b52d3181a44a0ccedd30c52e70ce84231918e72.zip | |
Merge #6043
6043: Allow missing trait members assist without needing braces r=matklad a=M-J-Hooper Assist to complete missing items when implementing a trait does not appear without impl def braces (see #5144 ). The reason behind this was that this assist is based on `ast::AssocItemList` which only appears in the AST after the braces are added to the impl def. Instead of relying on and replacing the item list, we now instead replace the entire `ast::Impl` and add the item list if its missing. Co-authored-by: Matt Hooper <matthewjhooper94@gmail.com>
Diffstat (limited to 'editors/code/src/persistent_state.ts')
0 files changed, 0 insertions, 0 deletions
