]> git.lizzy.rs Git - rust.git/commitdiff
Update clippy_lints/src/await_holding_invalid.rs
authorLily Mara <54288692+lilymara-onesignal@users.noreply.github.com>
Mon, 18 Apr 2022 17:31:57 +0000 (10:31 -0700)
committerGitHub <noreply@github.com>
Mon, 18 Apr 2022 17:31:57 +0000 (10:31 -0700)
Co-authored-by: llogiq <bogusandre@gmail.com>
clippy_lints/src/await_holding_invalid.rs

index 51dd5f4937a4f498fa16bb94ca9a39a4526afa54..8f2b67176ec8480f0ebdffd8ed40156b97d2ffbd 100644 (file)
     #[clippy::version = "1.49.0"]
     pub AWAIT_HOLDING_INVALID_TYPE,
     suspicious,
-    "inside an async function, holding a type across an await point which is not safe to be held across an await point"
+    "holding a type across an await point which is not allowed to be held as per the configuration"
 }
 
 impl_lint_pass!(AwaitHolding => [AWAIT_HOLDING_LOCK, AWAIT_HOLDING_REFCELL_REF, AWAIT_HOLDING_INVALID_TYPE]);