about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2023-02-12 13:51:50 -0500
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2023-06-20 08:26:11 -0500
commit75870c55b94b1b927445a35131462fb9db402fd3 (patch)
tree3c0dac6a523fb6e67afea4fa5d15f46f848d0264 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parent3f7c366fc0464e01ddcaefbd70647cb3da4202be (diff)
downloadrust-75870c55b94b1b927445a35131462fb9db402fd3.tar.gz
rust-75870c55b94b1b927445a35131462fb9db402fd3.zip
Extract logic for rewriting `else` keyword into function
The function properly handles recovering comments before and after the
`else` keyword, and properly handles how to write the else when users
configure `control_brace_style`.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions