about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-24 18:58:07 +0000
committerbors <bors@rust-lang.org>2023-05-24 18:58:07 +0000
commita512774fd97ba8645fd7bc123b179f40a76017b2 (patch)
tree9fa99f50287e58850637377816596782aaf15d84 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent2f840c22369e0bdabb965bd7fa1729cb846fdb18 (diff)
parent49f1092f14d7b2f096fa32d3e1d45c8844a22ee2 (diff)
downloadrust-a512774fd97ba8645fd7bc123b179f40a76017b2.tar.gz
rust-a512774fd97ba8645fd7bc123b179f40a76017b2.zip
Auto merge of #14752 - ponyii:fix/generate_derive_breaks_indentation, r=Veykril
fix: assists no longer break indentation

Fixes https://github.com/rust-lang/rust-analyzer/issues/14674

These are _ad hoc_ patches for a number of assists that can produce incorrectly indented code, namely:
- generate_derive
- add_missing_impl_members
- add_missing_default_members

Some general solution is required in future, as the same problem arises in many other assists, e.g.
- replace_derive_with...
- generate_default_from_enum...
- generate_default_from_new
- generate_delegate_methods
(the list is incomplete)
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions