diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-10-25 19:51:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-25 19:51:14 +0200 |
| commit | 585a1222649a5ed2b2eb1b328bee05f6a30cd11d (patch) | |
| tree | dc5b45abddb178e85d87babd7d6310e29b389ca3 /compiler/rustc_codegen_llvm/src | |
| parent | a1ab16792b2c425abbdee84956f503aa97c07f43 (diff) | |
| parent | 23341434bdfdecf882b886146e6a25a9a15f09d9 (diff) | |
| download | rust-585a1222649a5ed2b2eb1b328bee05f6a30cd11d.tar.gz rust-585a1222649a5ed2b2eb1b328bee05f6a30cd11d.zip | |
Rollup merge of #117152 - compiler-errors:no-ret-coercion, r=chenyukang
Fix unwrap suggestion for async fn Use `body_fn_sig` to get the expected return type of the function instead of `ret_coercion` in `FnCtxt`. This avoids accessing the `ret_coercion` when it's already mutably borrowed (e.g. when checking `return` expressions). Fixes #117144 r? `@chenyukang`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
