bors
350a6827a8
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
2023-10-23 09:59:40 +00:00
..
2023-08-24 21:32:12 +02:00
2023-05-05 17:45:49 +02:00
2023-09-12 18:44:06 +02:00
2023-09-12 18:44:06 +02:00
2023-07-02 14:59:02 +02:00
2022-08-11 19:42:16 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2022-05-05 15:12:52 +01:00
2022-05-05 15:12:52 +01:00
2023-07-02 14:59:02 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2022-10-06 09:44:38 +02:00
2023-07-02 14:59:02 +02:00
2023-05-05 17:45:49 +02:00
2023-10-20 21:14:01 +00:00
2023-07-02 14:59:02 +02:00
2022-03-24 11:27:07 +00:00
2023-07-02 14:59:02 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2022-05-05 15:12:52 +01:00
2023-03-10 10:53:50 +01:00
2023-08-24 21:32:12 +02:00
2023-07-02 14:59:02 +02:00
2023-08-24 21:32:12 +02:00
2023-10-04 21:09:54 +00:00
2023-08-24 21:32:12 +02:00
2023-10-20 08:46:27 +00:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-07-02 14:59:02 +02:00
2023-07-14 13:27:35 +01:00
2023-07-02 14:59:02 +02:00
2022-04-08 10:06:10 +01:00
2022-09-23 20:55:37 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-04-23 13:28:56 +02:00
2023-07-02 14:59:02 +02:00
2023-09-04 14:22:02 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-04-23 13:28:56 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2022-07-28 19:08:22 +02:00
2022-07-28 19:08:22 +02:00
2022-09-09 13:36:26 +02:00
2023-08-24 21:32:12 +02:00
2022-09-09 13:36:26 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2022-10-06 09:44:38 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2022-10-23 15:18:45 +02:00
2022-11-21 20:51:52 +01:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-07-02 14:59:02 +02:00
2023-10-03 02:25:32 +00:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2023-08-17 18:06:36 +02:00
2023-09-12 18:44:06 +02:00
2023-09-12 18:44:06 +02:00
2023-09-12 18:44:06 +02:00
2023-09-12 18:44:06 +02:00
2023-08-24 21:32:12 +02:00
2023-07-02 14:59:02 +02:00
2023-07-02 14:59:02 +02:00
2023-03-10 10:53:50 +01:00
2023-06-10 11:13:01 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-07-02 14:59:02 +02:00
2023-08-24 21:32:12 +02:00
2023-08-24 21:32:12 +02:00
2023-09-04 14:22:02 +02:00
2022-10-06 09:44:38 +02:00