about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-05 17:52:28 +0000
committerbors <bors@rust-lang.org>2020-08-05 17:52:28 +0000
commit2eab060ab7771e9c517c04c7519ed74c97d3a1c9 (patch)
treef73c7aff44ef0e58e7c8cd8eed6349e3936fb099 /src/test/rustdoc-ui/coverage/json.rs
parent3d7e3fdffd380d0d98f63e878b3ef9948b9452ca (diff)
parente336fe80d2f991a170b98190683039035b53c6ba (diff)
downloadrust-2eab060ab7771e9c517c04c7519ed74c97d3a1c9.tar.gz
rust-2eab060ab7771e9c517c04c7519ed74c97d3a1c9.zip
Auto merge of #5859 - ebroto:5765_manual_async_fn_fp, r=yaahc
manual_async_fn: take input lifetimes into account

The anonymous future returned from an `async fn` captures all input
lifetimes. This was not being taken into account.

See https://github.com/rust-lang/rfcs/blob/master/text/2394-async_await.md#lifetime-capture-in-the-anonymous-future

changelog: Take input lifetimes into account in [`manual_async_fn`].

Fixes #5765
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions