rust/tests
Matthias Krüger cd5eb6a896
Rollup merge of #120031 - compiler-errors:construct-closure-ty-eagerly, r=oli-obk
Construct closure type eagerly

Construct the returned closure type *before* checking the body, in the same match as we were previously deducing the coroutine types based off of the closure kind.

This simplifies some changes I'm doing in the async closure PR, and imo just seems easier to read (since we only need one match on closure kind, instead of two). There's no reason I can tell that we needed to create the closure type *after* the body was checked.

~~This also has the side-effect of making it so that the universe of the closure synthetic infer vars are lower than any infer vars that come from checking the body. We can also get rid of `next_root_ty_var` hack from closure checking (though in general we still need this, #119106). cc ```@lcnr``` since you may care about this hack 😆~~

r? ```@oli-obk```
2024-01-17 20:21:22 +01:00
..
assembly tests: add sanity-check assembly test for every target 2024-01-17 09:44:11 +00:00
auxiliary
codegen Auto merge of #119954 - scottmcm:option-unwrap-failed, r=WaffleLapkin 2024-01-16 15:32:39 +00:00
codegen-units Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
coverage coverage: llvm-cov expects column numbers to be bytes, not code points 2024-01-08 21:58:46 +11:00
coverage-run-rustdoc
debuginfo update debuginfo tests on Windows 2024-01-12 08:50:14 +01:00
incremental Disable opt in incremental test. 2023-12-24 20:08:58 +00:00
mir-opt Do not read a scalar on a non-scalar layout. 2024-01-16 22:32:48 +00:00
pretty Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
run-make Revert "Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix" 2024-01-12 18:23:04 +08:00
run-make-fulldeps Auto merge of #118899 - veera-sivarajan:fix-makefile, r=Mark-Simulacrum 2024-01-05 07:42:03 +00:00
run-pass-valgrind
rustdoc Rollup merge of #119561 - notriddle:master, r=fmease 2024-01-14 20:17:23 +01:00
rustdoc-gui rustdoc ui: adjust tooltip z-index to be above sidebar 2023-12-31 20:31:56 +01:00
rustdoc-js Rollup merge of #118194 - notriddle:notriddle/tuple-unit, r=GuillaumeGomez 2024-01-06 16:07:46 +01:00
rustdoc-js-std Rollup merge of #118194 - notriddle:notriddle/tuple-unit, r=GuillaumeGomez 2024-01-06 16:07:46 +01:00
rustdoc-json Add regression test for is_object_safe field on traits 2023-12-23 19:00:17 +01:00
rustdoc-ui Rollup merge of #119561 - notriddle:master, r=fmease 2024-01-14 20:17:23 +01:00
ui Rollup merge of #120031 - compiler-errors:construct-closure-ty-eagerly, r=oli-obk 2024-01-17 20:21:22 +01:00
ui-fulldeps Auto merge of #119672 - cjgillot:dse-sandwich, r=oli-obk 2024-01-16 11:34:16 +00:00
COMPILER_TESTS.md