rust/clippy_lints
bors 8334a58c2f Auto merge of #5909 - khuey:async_yields_async, r=yaahc
Add a lint for an async block/closure that yields a type that is itself awaitable.

This catches bugs of the form

tokio::spawn(async move {
    let f = some_async_thing();
    f // Oh no I forgot to await f so that work will never complete.
});

See the two XXXkhuey comments and the unfixed `_l` structure for things that need more thought.

*Please keep the line below*
changelog: none
2020-08-31 19:20:30 +00:00
..
src Auto merge of #5909 - khuey:async_yields_async, r=yaahc 2020-08-31 19:20:30 +00:00
Cargo.toml deps: bump cargo_metadata and semver 2020-08-17 12:19:32 +02:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.