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:
authorSamuel Tardieu <sam@rfc1149.net>2023-02-13 20:37:36 +0100
committerSamuel Tardieu <sam@rfc1149.net>2023-02-14 09:55:44 +0100
commit657ee48bec2c02ad6885176ea37658bddf6ce59a (patch)
treee78dd3f6e74e283edf68399f786ed65406f0c843 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parente9dffa391085f4b3c84f90e8ab82bdd568d1f17e (diff)
downloadrust-657ee48bec2c02ad6885176ea37658bddf6ce59a.tar.gz
rust-657ee48bec2c02ad6885176ea37658bddf6ce59a.zip
Ignore instructions following a break from block in never_loop lint
It is not sufficient to ignore break from a block inside the loop.
Instructions after the break must be ignored, as they are unreachable.
This is also true for all instructions in outer blocks and loops
until the right block is reached.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions