rust/compiler/rustc_const_eval
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
..
src Rollup merge of #103315 - RalfJung:interpret-switchint-ice, r=bjorn3 2022-10-20 22:42:41 +02:00
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00