mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 04:46:28 +00:00
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