diff options
| author | Gary Guo <gary@garyguo.net> | 2022-12-05 03:18:26 +0000 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2022-12-05 03:18:26 +0000 |
| commit | 34c377335bc6b855722eb1f4a0866de29af0f2c9 (patch) | |
| tree | 8c573a35f377bc2a4651306901a53e34bec23dc5 | |
| parent | ec4080b23699d096561e2e6163f3f74f6f9e8b4d (diff) | |
| download | rust-34c377335bc6b855722eb1f4a0866de29af0f2c9.tar.gz rust-34c377335bc6b855722eb1f4a0866de29af0f2c9.zip | |
Add fixme note
| -rw-r--r-- | compiler/rustc_ast_lowering/src/expr.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/src/expr.rs b/compiler/rustc_ast_lowering/src/expr.rs index 2d7cd067e08..c7a322ffa94 100644 --- a/compiler/rustc_ast_lowering/src/expr.rs +++ b/compiler/rustc_ast_lowering/src/expr.rs @@ -1013,6 +1013,8 @@ impl<'hir> LoweringContext<'_, 'hir> { let async_body = this.make_async_expr( capture_clause, + // FIXME(nbdd0121): This should also use a proper HIR id so `#[track_caller]` + // can be applied on async closures as well. None, inner_closure_id, async_ret_ty, |
