diff options
| author | Kyle Huey <khuey@kylehuey.com> | 2020-08-14 17:30:48 -0700 |
|---|---|---|
| committer | Kyle Huey <khuey@kylehuey.com> | 2020-08-29 15:33:54 -0700 |
| commit | 4972989b616cbf96c015cd9fdf1f4b4464ecaace (patch) | |
| tree | 08b2ca3af70dc01dad8d4b173ae76ee79f0b3554 /src/test/codegen/src-hash-algorithm | |
| parent | c88c6149415dd47b5f05e69d7307e0a1967c33f2 (diff) | |
| download | rust-4972989b616cbf96c015cd9fdf1f4b4464ecaace.tar.gz rust-4972989b616cbf96c015cd9fdf1f4b4464ecaace.zip | |
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.
});
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
