about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-04-02 21:28:20 +0900
committerGitHub <noreply@github.com>2021-04-02 21:28:20 +0900
commit03ba8ab6067fc642c63cb3645db6beb4d425ae6e (patch)
treeca7e5f84bedb5993fa1255ac8547dd4798975566 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent5662d9343f0696efcc38a1264656737c9f22d427 (diff)
parent2d813b26092ac67933de06009e2eede04b056923 (diff)
downloadrust-03ba8ab6067fc642c63cb3645db6beb4d425ae6e.tar.gz
rust-03ba8ab6067fc642c63cb3645db6beb4d425ae6e.zip
Rollup merge of #83535 - MidasLamb:mir-type-count-mismatch, r=nikomatsakis
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.
Fixes #83499
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions