mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
4972989b61
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.
});