mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-15 09:23:41 +00:00
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`