Skip to content

Commit e170ebd

Browse files
author
Daniel Smith
committed
update_lints
1 parent d341eda commit e170ebd

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,6 +1514,7 @@ Released 2018-09-13
15141514
[`assign_ops`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_ops
15151515
[`async_yields_async`]: https://rust-lang.github.io/rust-clippy/master/index.html#async_yields_async
15161516
[`await_holding_lock`]: https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
1517+
[`await_holding_refcell_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref
15171518
[`bad_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#bad_bit_mask
15181519
[`bind_instead_of_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
15191520
[`blacklisted_name`]: https://rust-lang.github.io/rust-clippy/master/index.html#blacklisted_name

src/lintlist/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
6666
deprecation: None,
6767
module: "await_holding_lock",
6868
},
69+
Lint {
70+
name: "await_holding_refcell_ref",
71+
group: "pedantic",
72+
desc: "Inside an async function, holding a RefCell ref while calling await",
73+
deprecation: None,
74+
module: "await_holding_refcell_ref",
75+
},
6976
Lint {
7077
name: "bad_bit_mask",
7178
group: "correctness",

0 commit comments

Comments
 (0)