bors a675778cfb Auto merge of #6029 - Daniel-B-Smith:refcell_ref_await, r=flip1995
Add lint for holding RefCell Ref across an await

Fixes #6008

This introduces the lint await_holding_refcell_ref. For async functions, we iterate
over all types in generator_interior_types and look for `core::cell::Ref` or `core::cell::RefMut`. If we find one then we emit a lint.

Heavily cribs from: https://github.com/rust-lang/rust-clippy/pull/5439

changelog: introduce the await_holding_refcell_ref lint
2020-10-25 08:54:27 +00:00
..
2020-10-02 23:21:24 +13:00
2020-10-02 11:34:14 -07:00
2020-10-02 11:34:14 -07:00
2020-10-11 22:04:59 +02:00
2020-10-11 22:04:59 +02:00
2020-10-11 22:04:59 +02:00
2020-10-11 22:04:59 +02:00
2020-10-14 22:16:48 +02:00