diff options
| author | Eduardo Broto <ebroto@tutanota.com> | 2020-11-23 23:02:12 +0100 |
|---|---|---|
| committer | Eduardo Broto <ebroto@tutanota.com> | 2020-11-23 23:02:12 +0100 |
| commit | 209ab1885cd5f9de718f815acf1afb034bce0b4e (patch) | |
| tree | 645796641acb4e37af8f5cad2ec5cd6969a643c2 /src | |
| parent | e5fddb6747dae0e01392e1cd47baba9e0587c8e7 (diff) | |
| parent | 58a2bc45d70253526e81760e884d5fbc2ab732de (diff) | |
| download | rust-209ab1885cd5f9de718f815acf1afb034bce0b4e.tar.gz rust-209ab1885cd5f9de718f815acf1afb034bce0b4e.zip | |
Merge remote-tracking branch 'upstream/master' into rustup
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