We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
make_ret_async
NodeId
1 parent a1f6a61 commit a85b279Copy full SHA for a85b279
src/librustc/hir/lowering.rs
@@ -1870,7 +1870,8 @@ impl<'a> LoweringContext<'a> {
1870
// This guards against trait declarations and implementations where impl Trait is
1871
// disallowed.
1872
// make_ret_async: if `Some`, converts `-> T` into `-> impl Future<Output = T>` in the
1873
- // return type. This is used for `async fn` declarations.
+ // return type. This is used for `async fn` declarations. The `NodeId` is the id of the
1874
+ // return type impl Trait item.
1875
fn lower_fn_decl(
1876
&mut self,
1877
decl: &FnDecl,
0 commit comments