rust/tests
Esteban Küber 37d2ea2fa0 Properly handle async blocks and fns in if exprs without else
When encountering a tail expression in the then arm of an `if` expression
without an `else` arm, account for `async fn` and `async` blocks to
suggest `return`ing the value and pointing at the return type of the
`async fn`.

We now also account for AFIT when looking for the return type to point at.

Fix #115405.
2024-02-12 20:26:34 +00:00
..
assembly Bless/fix tests 2024-02-08 19:56:30 -05:00
auxiliary
codegen Rollup merge of #118307 - scottmcm:tuple-eq-simpler, r=joshtriplett 2024-02-11 08:25:41 +01:00
codegen-units Update tests 2024-02-07 10:42:01 +08:00
coverage Enable by default. 2024-02-09 21:13:51 +00:00
coverage-run-rustdoc coverage: Don't instrument #[automatically_derived] functions 2024-01-22 12:18:57 +11:00
debuginfo Update tests. 2024-01-27 16:38:57 +01:00
incremental Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
mir-opt Check representation of unnamed fields 2024-02-12 12:47:31 +08:00
pretty Auto merge of #120227 - nnethercote:further-improve-space_between, r=petrochenkov 2024-01-31 02:01:43 +00:00
run-make Update data layouts in custom target tests for LLVM 18 2024-01-31 15:15:59 +01:00
run-make-fulldeps
run-pass-valgrind
rustdoc Unify item relative path computation in one function 2024-02-09 14:16:37 +01:00
rustdoc-gui Rollup merge of #119746 - notriddle:notriddle/resize-close-modals, r=fmease 2024-01-22 07:56:42 +01:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Auto merge of #120767 - matthiaskrgr:rollup-0k8ib1c, r=matthiaskrgr 2024-02-08 12:14:19 +00:00
ui Properly handle async blocks and fns in if exprs without else 2024-02-12 20:26:34 +00:00
ui-fulldeps Rollup merge of #120734 - nnethercote:SubdiagnosticMessageOp, r=compiler-errors 2024-02-08 09:06:36 +01:00
COMPILER_TESTS.md