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-16 19:18:32 +0200
committerGitHub <noreply@github.com>2024-10-16 19:18:32 +0200
commitaac91f75e3b6cb0602ce5fdc80ccd1367699cc11 (patch)
treed086e343c01bcf4f9e6bb8258a5873eb0c0c9e2c /compiler/rustc_codegen_llvm/src/errors.rs
parent2560453256dae97676859cff822a5a0c0c5317cc (diff)
parentf956dc2e779ae5ca14c882998d308609648025e9 (diff)
downloadrust-aac91f75e3b6cb0602ce5fdc80ccd1367699cc11.tar.gz
rust-aac91f75e3b6cb0602ce5fdc80ccd1367699cc11.zip
Rollup merge of #131699 - compiler-errors:better-errors-for-projections, r=lcnr
Try to improve error messages involving aliases in the solver

1. Treat aliases as rigid only if it may not be defined and it's well formed (i.e. for projections, its trait goal is satisfied).
2. Record goals that are related to alias normalization under a new `GoalKind`, so we can look into them in the `BestObligation` visitor.
3. Try to deduplicate errors due to self types of goals that are un-normalizable aliases.

r? lcnr
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions