diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-13 06:27:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-13 06:27:37 +0100 |
| commit | 020e84652dbcf660a4983aa460a29f0267b5f590 (patch) | |
| tree | f15798ac022aff012b26f825b3ad81ae32cfa184 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | d26b41711282042c4ea0c5733e7332b07cfa4933 (diff) | |
| parent | d07195fe6b5f522438d9d79f4bec3bdc44ce9764 (diff) | |
| download | rust-020e84652dbcf660a4983aa460a29f0267b5f590.tar.gz rust-020e84652dbcf660a4983aa460a29f0267b5f590.zip | |
Rollup merge of #120696 - estebank:issue-115405, r=oli-obk
Properly handle `async` block and `async fn` 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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
