Skip to content

Commit 070a751

Browse files
author
Daniel Smith
committed
update_lints
1 parent 8727169 commit 070a751

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
@@ -1632,6 +1632,7 @@ Released 2018-09-13
16321632
[`assign_ops`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_ops
16331633
[`async_yields_async`]: https://rust-lang.github.io/rust-clippy/master/index.html#async_yields_async
16341634
[`await_holding_lock`]: https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_lock
1635+
[`await_holding_refcell_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_refcell_ref
16351636
[`bad_bit_mask`]: https://rust-lang.github.io/rust-clippy/master/index.html#bad_bit_mask
16361637
[`bind_instead_of_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map
16371638
[`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
@@ -67,6 +67,13 @@ vec![
6767
deprecation: None,
6868
module: "await_holding_lock",
6969
},
70+
Lint {
71+
name: "await_holding_refcell_ref",
72+
group: "pedantic",
73+
desc: "Inside an async function, holding a RefCell ref while calling await",
74+
deprecation: None,
75+
module: "await_holding_refcell_ref",
76+
},
7077
Lint {
7178
name: "bad_bit_mask",
7279
group: "correctness",

0 commit comments

Comments
 (0)