rust-clippy/src
Andy Weiss 6c25c3c381 Lint for holding locks across await points
Fixes #4226

This introduces the lint await_holding_lock. For async functions, we iterate
over all types in generator_interior_types and look for types named MutexGuard,
RwLockReadGuard, or RwLockWriteGuard. If we find one then we emit a lint.
2020-04-21 21:07:43 -07:00
..
lintlist Lint for holding locks across await points 2020-04-21 21:07:43 -07:00
driver.rs revert the damn fmt changes 2020-04-15 09:22:45 -07:00
main.rs Apply suggestions from code review 2020-04-15 14:25:42 -07:00