about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-12-05 14:52:42 -0500
committerGitHub <noreply@github.com>2023-12-05 14:52:42 -0500
commit598ca0ea3f42b32f753e824879398a644d117623 (patch)
treeae52776f55bd3c9e52e697a0e6c71da9311ae377 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentad23f30b1d8c7d8599350dfe60aa4d2dd75d4f72 (diff)
parent3448284f8df0f136835500d220addc1326ab98d6 (diff)
downloadrust-598ca0ea3f42b32f753e824879398a644d117623.tar.gz
rust-598ca0ea3f42b32f753e824879398a644d117623.zip
Rollup merge of #118346 - compiler-errors:deeply-normalize-for-diagnostic, r=lcnr
Add `deeply_normalize_for_diagnostics`, use it in coherence

r? lcnr

Normalize trait refs used for coherence error reporting with `-Ztrait-solver=next-coherence`.

Two things:
1. I said before that we can't add this to `TyErrCtxt` because we compute `OverlapResult`s even if there are no diagnostics being emitted, e.g. for a reservation impl.
2. I didn't want to add this to an `InferCtxtExt` trait because I felt it was unnecessary. I don't particularly care about the API though.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions