File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ declare_clippy_lint! {
45
45
/// }
46
46
/// ```
47
47
pub AWAIT_HOLDING_LOCK ,
48
- pedantic ,
48
+ correctness ,
49
49
"Inside an async function, holding a MutexGuard while calling await"
50
50
}
51
51
@@ -126,7 +126,7 @@ declare_clippy_lint! {
126
126
/// }
127
127
/// ```
128
128
pub AWAIT_HOLDING_REFCELL_REF ,
129
- pedantic ,
129
+ correctness ,
130
130
"Inside an async function, holding a RefCell ref while calling await"
131
131
}
132
132
Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
61
61
} ,
62
62
Lint {
63
63
name: "await_holding_lock" ,
64
- group: "pedantic " ,
64
+ group: "correctness " ,
65
65
desc: "Inside an async function, holding a MutexGuard while calling await" ,
66
66
deprecation: None ,
67
67
module: "await_holding_invalid" ,
68
68
} ,
69
69
Lint {
70
70
name: "await_holding_refcell_ref" ,
71
- group: "pedantic " ,
71
+ group: "correctness " ,
72
72
desc: "Inside an async function, holding a RefCell ref while calling await" ,
73
73
deprecation: None ,
74
74
module: "await_holding_invalid" ,
You can’t perform that action at this time.
0 commit comments