rust/compiler/rustc_const_eval
Matthias Krüger 4e437be044
Rollup merge of #117441 - cjgillot:diag-noassert, r=oli-obk,RalfJung
Do not assert in op_to_const.

`op_to_const` is used in `try_destructure_mir_constant_for_diagnostics`, which may encounter invalid constants created by optimizations and debugging.

r? ``@oli-obk``

Fixes https://github.com/rust-lang/rust/issues/117368
2023-11-01 21:40:06 +01:00
..
src Rollup merge of #117441 - cjgillot:diag-noassert, r=oli-obk,RalfJung 2023-11-01 21:40:06 +01:00
Cargo.toml Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
messages.ftl more precise error for 'based on misaligned pointer' case 2023-10-15 18:13:33 +02:00