diff options
| author | bors <bors@rust-lang.org> | 2020-04-22 15:50:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-04-22 15:50:32 +0000 |
| commit | 1d4dd3d428cf6a622dc863a134ffacdb2183b6db (patch) | |
| tree | bffcdb995d64f861ec97f92a948cf0e2a0c76827 /src/test/codegen/src-hash-algorithm | |
| parent | b3cb9b8376b79837ec525da017871ab1859292dc (diff) | |
| parent | 8b052d3142fe3e335c676981c58235328268805e (diff) | |
| download | rust-1d4dd3d428cf6a622dc863a134ffacdb2183b6db.tar.gz rust-1d4dd3d428cf6a622dc863a134ffacdb2183b6db.zip | |
Auto merge of #5439 - rokob:lock-await, r=Manishearth
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. changelog: introduce the await_holding_lock lint
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
