Files
rust/compiler/rustc_const_eval/src/interpret
Matthias Krüger 801e32647e Rollup merge of #103315 - RalfJung:interpret-switchint-ice, r=bjorn3
interpret: remove an incorrect assertion

This fixes an ICE in Miri, [reported](https://rust-lang.zulipchat.com/#narrow/stream/269128-miri/topic/SwitchInt.20with.20no.20targets.3F) by `@saethlin.` The faulty assertion was introduced by 432535da2b, when a previously correct assertion checking that the `otherwise` target exists got replaced by this assertion checking that at least one more target beyond `otherwise` exists.

Sadly we don't have a small reproducer so I don't think we can easily add a testcase.
2022-10-20 22:42:41 +02:00
..
2022-10-06 15:32:41 +03:00
2022-10-07 18:08:49 +02:00
2022-10-07 18:08:49 +02:00
2022-10-14 12:57:56 +08:00
2022-10-12 17:49:10 +05:30
2022-08-31 18:24:55 +08:00
2022-07-06 06:41:53 +01:00