about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-19 22:00:57 +0200
committerGitHub <noreply@github.com>2024-10-19 22:00:57 +0200
commit559f8ce726340150e2581f64500247987c482b89 (patch)
tree7d5a83101c92f6c9adf9c19c24baf5a94f0e2e54 /compiler/rustc_codegen_llvm/src/errors.rs
parentbc22740882f59e0d7356ba39cf84a8a3f9d7f62f (diff)
parent99d5f3b2803daa32909aa841e247ba3ed9efd1b7 (diff)
downloadrust-559f8ce726340150e2581f64500247987c482b89.tar.gz
rust-559f8ce726340150e2581f64500247987c482b89.zip
Rollup merge of #131795 - compiler-errors:expectation, r=Nadrieril
Stop inverting expectation in normalization errors

We have some funky special case logic to invert the expectation and actual type for normalization errors depending on their cause code. IMO most of the error messages get better, except for `try {}` blocks' type expectations. I think that these need to be special cased in some other way, rather than via this hack.

Fixes #131763
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions