rust/tests/ui/crashes
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
..
auxiliary Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
third-party
associated-constant-ice.rs
cc_seme.rs
enum-glob-import-crate.rs
ice_exact_size.rs Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup 2023-05-05 17:45:49 +02:00
ice-360.rs Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup 2023-09-12 18:44:06 +02:00
ice-360.stderr Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup 2023-09-12 18:44:06 +02:00
ice-700.rs
ice-1588.rs
ice-1782.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-1969.rs
ice-2499.rs
ice-2594.rs
ice-2727.rs
ice-2760.rs
ice-2774.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-2774.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-2774.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-2862.rs
ice-2865.rs
ice-3151.rs
ice-3462.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-3717.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-3717.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-3717.stderr
ice-3741.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-3747.rs
ice-3891.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-3891.stderr
ice-3969.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-3969.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-4121.rs
ice-4545.rs
ice-4579.rs
ice-4671.rs
ice-4727.rs
ice-4760.rs
ice-4775.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
ice-4968.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-5207.rs Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup 2023-05-05 17:45:49 +02:00
ice-5223.rs
ice-5238.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
ice-5389.rs
ice-5497.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-5497.stderr
ice-5579.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-5835.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-5835.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-5835.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-5872.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-5872.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-5872.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-5944.rs
ice-6139.rs
ice-6153.rs
ice-6179.rs Merge commit '3c06e0b1ce003912f8fe0536d3a7fe22558e38cf' into clippyup 2023-03-10 10:53:50 +01:00
ice-6250.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-6250.stderr Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-6251.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-6251.stderr Point to closure return instead of output if defaulted 2023-10-04 21:09:54 +00:00
ice-6252.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-6252.stderr Avoid a track_errors by bubbling up most errors from check_well_formed 2023-10-20 08:46:27 +00:00
ice-6254.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-6254.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-6255.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-6255.stderr
ice-6256.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
ice-6256.stderr Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-6332.rs
ice-6539.rs
ice-6792.rs
ice-6793.rs
ice-6840.rs
ice-7012.rs
ice-7126.rs Stabilize const BTree{Map,Set}::new 2022-09-23 20:55:37 +02:00
ice-7169.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-7169.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-7169.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-7231.rs
ice-7272.rs Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup 2023-04-23 13:28:56 +02:00
ice-7340.rs
ice-7410.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-7423.rs
ice-7868.rs
ice-7868.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-7869.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-7869.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-7934.rs
ice-8250.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-8250.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-8250.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-8386.rs
ice-8681.rs Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup 2023-04-23 13:28:56 +02:00
ice-8821.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-8821.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-8821.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-8850.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-8850.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-8850.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-9041.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-9041.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-9238.rs
ice-9242.rs
ice-9405.rs
ice-9405.stderr Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-9414.rs
ice-9445.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-9445.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-9459.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
ice-9463.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-9463.stderr Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-9625.rs Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup 2022-10-23 15:18:45 +02:00
ice-9746.rs Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup 2022-11-21 20:51:52 +01:00
ice-10148.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-10148.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-10645.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-10645.stderr Point to full async fn for future 2023-10-03 02:25:32 +00:00
ice-10912.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-10912.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
ice-11065.rs Auto merge of #11070 - y21:issue11065, r=flip1995 2023-08-17 18:06:36 +02:00
ice-11337.rs Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup 2023-09-12 18:44:06 +02:00
ice-11422.fixed Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup 2023-09-12 18:44:06 +02:00
ice-11422.rs Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup 2023-09-12 18:44:06 +02:00
ice-11422.stderr Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup 2023-09-12 18:44:06 +02:00
ice-96721.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
ice-96721.rs Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-96721.stderr Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
ice-rust-107877.rs Merge commit '3c06e0b1ce003912f8fe0536d3a7fe22558e38cf' into clippyup 2023-03-10 10:53:50 +01:00
if_same_then_else.rs
implements-trait.rs
inherent_impl.rs
issue-825.rs
issues_loop_mut_cond.rs
match_same_arms_const.rs
mut_mut_macro.rs Drop uplifted clippy:cmp_nan 2023-06-10 11:13:01 +02:00
needless_borrow_fp.rs
needless_lifetimes_impl_trait.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
needless_lifetimes_impl_trait.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
needless_lifetimes_impl_trait.stderr Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup 2023-07-02 14:59:02 +02:00
needless_pass_by_value-w-late-bound.fixed Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
needless_pass_by_value-w-late-bound.rs Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup 2023-08-24 21:32:12 +02:00
needless_pass_by_value-w-late-bound.stderr Adjust clippy tests with new rustc help suggestion for lints 2023-09-04 14:22:02 +02:00
regressions.rs Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup 2022-10-06 09:44:38 +02:00
returns.rs
shadow.rs
single-match-else.rs
trivial_bounds.rs
used_underscore_binding_macro.rs