From a12828a80a62fbf2ee3e1ffc3b8169a8dc3c2b80 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Thu, 10 Sep 2020 17:47:07 +0200 Subject: Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup --- src/lintlist/mod.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index 687fac7baa8..6697835e950 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -52,6 +52,13 @@ pub static ref ALL_LINTS: Vec = vec![ deprecation: None, module: "assign_ops", }, + Lint { + name: "async_yields_async", + group: "correctness", + desc: "async blocks that return a type that can be awaited", + deprecation: None, + module: "async_yields_async", + }, Lint { name: "await_holding_lock", group: "pedantic", @@ -290,6 +297,13 @@ pub static ref ALL_LINTS: Vec = vec![ deprecation: None, module: "copy_iterator", }, + Lint { + name: "create_dir", + group: "restriction", + desc: "calling `std::fs::create_dir` instead of `std::fs::create_dir_all`", + deprecation: None, + module: "create_dir", + }, Lint { name: "crosspointer_transmute", group: "complexity", -- cgit 1.4.1-3-g733a5