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
..
2020-04-19 10:56:15 -04:00
2020-04-19 10:56:15 -04:00
2020-04-19 21:00:25 +02:00
2020-04-09 08:08:36 +02:00
2020-04-17 13:54:05 +02:00
2020-04-20 15:47:08 -04:00
2020-04-17 09:27:54 +02:00
2020-04-17 09:27:54 +02:00
2020-04-08 08:37:20 -07:00