rust/tests
bors 9e6c4fddda Auto merge of #123531 - compiler-errors:closure-wf, r=oli-obk
Enforce closure args + return type are WF

I found this out when investigating https://github.com/rust-lang/rust/issues/123461#issuecomment-2040894359. Turns out we don't register WF obligations for closure args and return types, leading to the ICE.

~~I think this is a useful thing to check for, but I'd like to check what the fallout is.~~ crater is complete.

~~Worst case, I think we should enforce this across an edition boundary (and possibly eventually migrate this for all editions) -- this should be super easy to do, since this is a check in HIR wfcheck, so it can be made edition dependent.~~ I believe the regressions are manageable enough to not necessitate edition-specific behavior.

Fixes #123461
2024-04-25 15:05:51 +00:00
..
assembly also update windows slack-protector tests 2024-04-22 23:45:04 -04:00
auxiliary extend extern tests to include FiveU16s 2024-03-17 00:07:42 -04:00
codegen Auto merge of #121298 - nikic:writable, r=cuviper 2024-04-25 04:31:56 +00:00
codegen-units Codegen const panic messages as function calls 2024-03-22 09:55:50 -04:00
coverage Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
coverage-run-rustdoc
crashes Add test 2024-04-25 10:51:54 -04:00
debuginfo Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
incremental Add missing -Zquery-dep-graph to the spike-neg incr comp tests 2024-04-06 13:36:16 +00:00
mir-opt Fix tests and bless 2024-04-24 13:12:33 +01:00
pretty Fix tests and bless 2024-04-24 13:12:33 +01:00
run-make Rollup merge of #124257 - JoverZhang:rmake-diff, r=jieyouxu 2024-04-25 06:31:03 +02:00
run-make-fulldeps Soft-destabilize RustcEncodable/RustcDecodable 2024-03-22 13:24:35 -07:00
run-pass-valgrind Add test for Apple's -weak_framework linker argument 2024-03-18 23:27:34 +01:00
rustdoc Auto merge of #118441 - GuillaumeGomez:display-stability-version, r=rustdoc 2024-04-19 14:17:29 +00:00
rustdoc-gui Rollup merge of #124197 - GuillaumeGomez:move-duplicated-code, r=notriddle 2024-04-23 06:24:56 +02:00
rustdoc-js rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
rustdoc-js-std rustdoc-search: fix description on aliases in results 2024-04-18 22:21:29 -07:00
rustdoc-json
rustdoc-ui Rollup merge of #122591 - gurry:122162-impl-type-binding-suggestion, r=fmease 2024-04-23 17:25:14 +02:00
ui Auto merge of #123531 - compiler-errors:closure-wf, r=oli-obk 2024-04-25 15:05:51 +00:00
ui-fulldeps Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwco 2024-04-23 17:25:17 +02:00
COMPILER_TESTS.md