1
Fork 0
rust/compiler/rustc_codegen_ssa
Matthias Krüger 353b915fec
Rollup merge of #104317 - RalfJung:ctfe-error-reporting, r=oli-obk
cleanup and dedupe CTFE and Miri error reporting

It looks like most of the time, this error raised from const_prop_lint is just redundant -- it duplicates the error reported when evaluating the const-eval query. This lets us make `ConstEvalErr` private to the const_eval module which I think is a good step.

The Miri change mostly replaces a `match` by `if let`, and dedupes the "this error is impossible in Miri" checks.

r? ``@oli-obk``
Fixes https://github.com/rust-lang/rust/issues/75461
2022-11-16 15:39:45 +01:00
..
src Rollup merge of #104317 - RalfJung:ctfe-error-reporting, r=oli-obk 2022-11-16 15:39:45 +01:00
Cargo.toml Move the cast_float_to_int fallback code to GCC 2022-08-16 15:46:17 -07:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.