Remove old docs on lower_async_fn_ret_ty

This commit is contained in:
Santiago Pastorino 2022-07-15 12:58:22 -03:00
parent 6f18f0a9d4
commit 5c23a2e5a6
No known key found for this signature in database
GPG key ID: 8131A24E0C79EFAF

View file

@ -1582,11 +1582,9 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
//
// type OpaqueTy<generics_from_parent_fn> = impl Future<Output = T>;
//
// `inputs`: lowered types of parameters to the function (used to collect lifetimes)
// `output`: unlowered output type (`T` in `-> T`)
// `fn_def_id`: `DefId` of the parent function (used to create child impl trait definition)
// `opaque_ty_node_id`: `NodeId` of the opaque `impl Trait` type that should be created
// `elided_lt_replacement`: replacement for elided lifetimes in the return type
#[tracing::instrument(level = "debug", skip(self))]
fn lower_async_fn_ret_ty(
&mut self,