about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-02 19:50:01 +0000
committerbors <bors@rust-lang.org>2022-08-02 19:50:01 +0000
commit1c03f45c08145be5b1ecd40aa1f28a12c615d63a (patch)
treeb3f0239668b4e9b1aa520e15f04cdc25485f5240 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent113f1dbc9102d8eb693fefc1f369868c2a497910 (diff)
parent1980c1192c7bcfb10e1ed380ee90bcaa7153d58d (diff)
downloadrust-1c03f45c08145be5b1ecd40aa1f28a12c615d63a.tar.gz
rust-1c03f45c08145be5b1ecd40aa1f28a12c615d63a.zip
Auto merge of #12837 - DorianListens:dscheidt/generate-enum-data, r=Veykril
feat: support associated values in "Generate Enum Variant" assist

This change adds support for associated values to the "Generate Enum Variant" assist.

I've split the implementation out into 4 steps to make code review easier:
- Add "add_variant" support to the structural ast editing system in `edit_in_place`
- Migrate `generate_enum_variant` to use structural ast editing instead of string manipulation
- Support tuple fields
- Support record fields

Please let me know if I should leave the commits as-is, or squash before merging.

Fixes #12797
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions