Skip to content

Commit 34c3773

Browse files
committed
Add fixme note
1 parent ec4080b commit 34c3773

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_ast_lowering/src

1 file changed

+2
-0
lines changed

compiler/rustc_ast_lowering/src/expr.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
10131013

10141014
let async_body = this.make_async_expr(
10151015
capture_clause,
1016+
// FIXME(nbdd0121): This should also use a proper HIR id so `#[track_caller]`
1017+
// can be applied on async closures as well.
10161018
None,
10171019
inner_closure_id,
10181020
async_ret_ty,

0 commit comments

Comments
 (0)