about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
diff options
context:
space:
mode:
authorMidas Lambrichts <midaslamb@gmail.com>2021-03-26 23:16:22 +0100
committerMidas Lambrichts <midaslamb@gmail.com>2021-03-26 23:16:22 +0100
commit5676bd51aeaa6b05735dc888a2e41770a4d7b162 (patch)
tree76dbc409edec4d7a69bd745470f3456b9f5687b7 /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
parentb8719c51e0e44483cff9b6975a830f6e51812a48 (diff)
downloadrust-5676bd51aeaa6b05735dc888a2e41770a4d7b162.tar.gz
rust-5676bd51aeaa6b05735dc888a2e41770a4d7b162.zip
Break when there is a mismatch in the type count
When other errors are generated, there can be a mismatch between the
amount of input types in MIR, and the amount in the function itself.
Break from the comparative loop if this is the case to prevent
out-of-bounds.
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions