diff options
| author | flip1995 <hello@philkrones.com> | 2020-05-11 20:23:47 +0200 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2020-05-11 20:23:47 +0200 |
| commit | d13d8987b070e04c05a6e138c5a0feee596bc4aa (patch) | |
| tree | 23ef453ef2a762a2e4745d67bb3d5afbd56d565d /src | |
| parent | 51158cc71f43dc5986e1e503339ba093db5cc511 (diff) | |
| download | rust-d13d8987b070e04c05a6e138c5a0feee596bc4aa.tar.gz rust-d13d8987b070e04c05a6e138c5a0feee596bc4aa.zip | |
Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup
Diffstat (limited to 'src')
| -rw-r--r-- | src/lintlist/mod.rs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index 72675c25175..51d1cb2216a 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -1082,6 +1082,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![ module: "main_recursion", }, Lint { + name: "manual_async_fn", + group: "style", + desc: "manual implementations of `async` functions can be simplified using the dedicated syntax", + deprecation: None, + module: "manual_async_fn", + }, + Lint { name: "manual_memcpy", group: "perf", desc: "manually copying items between slices", @@ -1089,6 +1096,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![ module: "loops", }, Lint { + name: "manual_non_exhaustive", + group: "style", + desc: "manual implementations of the non-exhaustive pattern can be simplified using #[non_exhaustive]", + deprecation: None, + module: "manual_non_exhaustive", + }, + Lint { name: "manual_saturating_arithmetic", group: "style", desc: "`.chcked_add/sub(x).unwrap_or(MAX/MIN)`", @@ -1146,7 +1160,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec