about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEduardo Broto <ebroto@tutanota.com>2020-09-02 08:53:29 +0200
committerEduardo Broto <ebroto@tutanota.com>2020-09-02 08:53:29 +0200
commitda8606777516d8b8fe47110626c93eaef1f9795d (patch)
treecfa34b428a69cf16cfed023fe5ad666325c8bc39 /src
parentfdc48fb90c04b26b03ee7d8ae85e3175e5fc538c (diff)
parent48248af6307643072b337db3fe991fd6e638bfdd (diff)
downloadrust-da8606777516d8b8fe47110626c93eaef1f9795d.tar.gz
rust-da8606777516d8b8fe47110626c93eaef1f9795d.zip
Merge remote-tracking branch 'upstream/master' into sync-from-rust
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index 687fac7baa8..dff19ef440f 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -53,6 +53,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
         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",
         desc: "Inside an async function, holding a MutexGuard while calling await",