diff options
| author | DropDemBits <r3usrlnd@gmail.com> | 2023-07-06 22:31:28 -0400 |
|---|---|---|
| committer | DropDemBits <r3usrlnd@gmail.com> | 2023-07-07 20:08:32 -0400 |
| commit | 2eb506462ef2baa7e6e63c0ef1ae7af1a998c750 (patch) | |
| tree | 229b8146c1acff2a5dc72170378aaf5738ef5a1d /tests/codegen/src-hash-algorithm | |
| parent | 09a3bd58995079111dd59c0bd677521cceb28581 (diff) | |
| download | rust-2eb506462ef2baa7e6e63c0ef1ae7af1a998c750.tar.gz rust-2eb506462ef2baa7e6e63c0ef1ae7af1a998c750.zip | |
refactor: simplify `generate_delegate_method`
Can actually split out adding the functions from getting the impl to update or create thanks to being able to refer to the impl ast node. FIXME Context: Unfortunately we can't adjust the indentation of the newly added function inside of `ast::AssocItemList::add_item` since for some reason the `todo!()` placeholder generated by `add_missing_impl_members` and `replace_derive_with_manual_impl` gets indented weirdly.
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
