diff options
| author | bors <bors@rust-lang.org> | 2024-02-09 00:54:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-09 00:54:31 +0000 |
| commit | 57fda121d8f3a74d98aaf708261d2ad33a94c32d (patch) | |
| tree | fdc7f8463aeb909e9fe9593eef22be10430947d2 /compiler/rustc_pattern_analysis/src | |
| parent | 13707845f702f9c52e64ddb870520b442f88a8fd (diff) | |
| parent | 05b8ccc3787888671bde6b8fae4175c1a1ebc37a (diff) | |
| download | rust-57fda121d8f3a74d98aaf708261d2ad33a94c32d.tar.gz rust-57fda121d8f3a74d98aaf708261d2ad33a94c32d.zip | |
Auto merge of #16467 - DropDemBits:structured-snippet-migrate-6, r=DropDemBits
internal: Migrate assists to the structured snippet API, part 6/7
Continuing from #16082
Migrates the following assists:
- `extract_function`
- `generate_getter_or_setter`
- `generate_impl`
- `generate_new`
- `replace_derive_with_manual_impl`
Would've been the final PR in the structured snippet migration series, but I didn't notice that `generate_trait_from_impl` started to use `{insert,replace}_snippet` when I first started the migration 😅. This appears to be a pretty self-contained change, so I'll leave that for a separate future PR.
This also removes the last usages of `render_snippet`, which was a follow up goal of #11638. 🎉
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
