about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-27 20:46:08 +0200
committerGitHub <noreply@github.com>2024-04-27 20:46:08 +0200
commit0430e743e4b6ea06511f8e4af7671572cc094104 (patch)
treed496abdfa5df578181c40e6cf9d104c3ba6d5d2a /tests/codegen/patchable-function-entry
parentaeb4c0413c48350ec8b3b16c31ae8845abd5f350 (diff)
parent82cc02a60bc09e31afa6cead8994a9e86b2a8012 (diff)
downloadrust-0430e743e4b6ea06511f8e4af7671572cc094104.tar.gz
rust-0430e743e4b6ea06511f8e4af7671572cc094104.zip
Rollup merge of #124425 - saethlin:ceci-nest-pas-une-ice, r=compiler-errors
Do not ICE on invalid consts when walking mono-reachable blocks

The `bug!` here was written under the logic of "this condition is impossible, right?" except that of course, if the compiler is given code that results in an compile error, then the situation is possible.

So now we just direct errors into the already-existing path for when we can't do a mono-time optimization.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions