]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/await_holding_invalid.rs
Auto merge of #81156 - DrMeepster:read_buf, r=joshtriplett
[rust.git] / src / tools / clippy / clippy_lints / src / await_holding_invalid.rs
index 28615b9217cd342df10851a1a308409f6c36a693..1cc3418d4748c98728116538fba64a80949abefc 100644 (file)
@@ -47,6 +47,7 @@
     ///   bar.await;
     /// }
     /// ```
+    #[clippy::version = "1.45.0"]
     pub AWAIT_HOLDING_LOCK,
     pedantic,
     "Inside an async function, holding a MutexGuard while calling await"
@@ -88,6 +89,7 @@
     ///   bar.await;
     /// }
     /// ```
+    #[clippy::version = "1.49.0"]
     pub AWAIT_HOLDING_REFCELL_REF,
     pedantic,
     "Inside an async function, holding a RefCell ref while calling await"