rust/compiler/rustc_mir/src
Yuki Okushi 03ba8ab606
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
2021-04-02 21:28:20 +09:00
..
borrow_check Rollup merge of #83535 - MidasLamb:mir-type-count-mismatch, r=nikomatsakis 2021-04-02 21:28:20 +09:00
const_eval Update compiler/rustc_mir/src/const_eval/mod.rs 2021-03-16 18:26:09 +01:00
dataflow Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
interpret Add tcx lifetime to Binder 2021-03-31 10:13:57 -04:00
monomorphize Cleanups and comments 2021-03-31 10:16:37 -04:00
transform Track bound vars 2021-03-31 10:15:27 -04:00
util Auto merge of #83185 - jyn514:remove-dead-code, r=oli-obk 2021-03-29 19:44:27 +00:00
lib.rs Use iter::zip in compiler/ 2021-03-26 09:32:31 -07:00
shim.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00