diff options
| author | flip1995 <philipp.krones@embecosm.com> | 2020-11-23 13:51:04 +0100 |
|---|---|---|
| committer | flip1995 <philipp.krones@embecosm.com> | 2020-11-23 13:51:04 +0100 |
| commit | d3d2018eadff575566604c9b883a52fd56dde1c0 (patch) | |
| tree | d279b66138df34da05080128ecd28d30db2175aa /src | |
| parent | 113c1476c923492ea1427b061458a6ab8faf8df8 (diff) | |
| download | rust-d3d2018eadff575566604c9b883a52fd56dde1c0.tar.gz rust-d3d2018eadff575566604c9b883a52fd56dde1c0.zip | |
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
Diffstat (limited to 'src')
| -rw-r--r-- | src/lintlist/mod.rs | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index 702f9d86de6..1d906d20ad4 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -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", @@ -1118,6 +1118,13 @@ vec![ module: "returns", }, Lint { + name: "let_underscore_drop", + group: "pedantic", + desc: "non-binding let on a type that implements `Drop`", + deprecation: None, + module: "let_underscore", + }, + Lint { name: "let_underscore_lock", group: "correctness", desc: "non-binding let on a synchronization lock", @@ -1832,13 +1839,6 @@ vec![ module: "panic_in_result_fn", }, Lint { - name: "panic_params", - group: "style", - desc: "missing parameters in `panic!` calls", - deprecation: None, - module: "panic_unimplemented", - }, - Lint { name: "panicking_unwrap", group: "correctness", desc: "checks for calls of `unwrap[_err]()` that will always fail", @@ -2114,7 +2114,7 @@ vec