Revert "Convert the await holding lints to correctness"

This reverts commit d8c6bce440.
This commit is contained in:
Daniel Smith 2020-11-20 11:35:15 -05:00
parent 70ffebf5f0
commit 8b21241fd5
3 changed files with 6 additions and 8 deletions

View file

@ -62,14 +62,14 @@ vec![
},
Lint {
name: "await_holding_lock",
group: "correctness",
group: "pedantic",
desc: "Inside an async function, holding a MutexGuard while calling await",
deprecation: None,
module: "await_holding_invalid",
},
Lint {
name: "await_holding_refcell_ref",
group: "correctness",
group: "pedantic",
desc: "Inside an async function, holding a RefCell ref while calling await",
deprecation: None,
module: "await_holding_invalid",