about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-23 09:59:40 +0000
committerbors <bors@rust-lang.org>2023-10-23 09:59:40 +0000
commit350a6827a87b4c924120b58a3853545376f2a48b (patch)
treeb0e9f494f8414757fa0344ce3f4dd8f480c28cb8 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent8e7d1678c4cdadb7f2aef448cb7ccce637de6788 (diff)
parent4fc503ee372b9a99b8bc0b82f545d58f1729e57f (diff)
downloadrust-350a6827a87b4c924120b58a3853545376f2a48b.tar.gz
rust-350a6827a87b4c924120b58a3853545376f2a48b.zip
Auto merge of #116849 - oli-obk:error_shenanigans, r=cjgillot
Avoid a `track_errors` by bubbling up most errors from `check_well_formed`

I believe `track_errors` is mostly papering over issues that a sufficiently convoluted query graph can hit. I made this change, while the actual change I want to do is to stop bailing out early on errors, and instead use this new `ErrorGuaranteed` to invoke `check_well_formed` for individual items before doing all the `typeck` logic on them.

This works towards resolving https://github.com/rust-lang/rust/issues/97477 and various other ICEs, as well as allowing us to use parallel rustc more (which is currently rather limited/bottlenecked due to the very sequential nature in which we do `rustc_hir_analysis::check_crate`)

cc `@SparrowLii` `@Zoxc` for the new `try_par_for_each_in` function
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions