diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-16 15:39:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-16 15:39:45 +0100 |
| commit | 353b915fecd7feb30127b3107ea091a1a28f5e4a (patch) | |
| tree | 09683fbdf0f8faa79ac77eafe6bc8ae492acff6f /compiler/rustc_codegen_llvm/src | |
| parent | fbcd751ea15e96c293f83655be31e64a5751fa36 (diff) | |
| parent | 1115ec601a7f7dc2406e26cd5da0faf031043b81 (diff) | |
| download | rust-353b915fecd7feb30127b3107ea091a1a28f5e4a.tar.gz rust-353b915fecd7feb30127b3107ea091a1a28f5e4a.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
