about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-20 22:42:41 +0200
committerGitHub <noreply@github.com>2022-10-20 22:42:41 +0200
commit801e32647e7ab8254aff9bcde537cf1011dcc12e (patch)
tree3b893348715928d658b0545122a768747159e188 /compiler/rustc_codegen_gcc
parent01111d44501e7c3ac7d938c3de93f8f46dfecda0 (diff)
parentbf14e3196b4f340b5c2a57b902b01e07a7d7c3dc (diff)
downloadrust-801e32647e7ab8254aff9bcde537cf1011dcc12e.tar.gz
rust-801e32647e7ab8254aff9bcde537cf1011dcc12e.zip
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 https://github.com/rust-lang/rust/commit/432535da2b5144d467056efcfa6864d35ba2de0f, 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.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions