about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-19 18:03:51 +0100
committerGitHub <noreply@github.com>2024-03-19 18:03:51 +0100
commit2ad2492b7b5b0e368b196eff3572bdb556bb2862 (patch)
treeb1a69c301256b69039324e3f36b808333a8268c4 /compiler/rustc_mir_transform/src/coverage/counters.rs
parent17386b8fbfa876c1dc4355d7d166c5567974825b (diff)
parent394821060dac473390d723473217f0b2d630fc44 (diff)
downloadrust-2ad2492b7b5b0e368b196eff3572bdb556bb2862.tar.gz
rust-2ad2492b7b5b0e368b196eff3572bdb556bb2862.zip
Rollup merge of #122691 - veera-sivarajan:bugfix-121099, r=Amanieu
Fix ICE: `global_asm!()` Don't Panic When Unable to Evaluate Constant

Fixes #121099

A bit of an inelegant fix but given that the error is created only
after call to `const_eval_poly()` and that the calling function
cannot propagate the error anywhere else, the error has to be
explicitly handled inside `mono_item.rs`.

r? `@Amanieu`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions