diff options
| author | Andy Weiss <dragonbear@google.com> | 2020-04-07 21:20:37 -0700 |
|---|---|---|
| committer | Andy Weiss <dragonbear@google.com> | 2020-04-21 21:07:43 -0700 |
| commit | 6c25c3c381ccfa0bf9b7bc7386a09cc4421fd790 (patch) | |
| tree | 091199d964f148334f4460744a597cd2a7047625 /src/test/codegen/src-hash-algorithm | |
| parent | b3cb9b8376b79837ec525da017871ab1859292dc (diff) | |
| download | rust-6c25c3c381ccfa0bf9b7bc7386a09cc4421fd790.tar.gz rust-6c25c3c381ccfa0bf9b7bc7386a09cc4421fd790.zip | |
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
