Add docs for await_holding_invalid_types

This commit is contained in:
Jason Newcomb 2024-07-27 18:17:26 -04:00
parent a54e3130ca
commit 84dc56923b
2 changed files with 3 additions and 1 deletions

View File

@ -364,7 +364,7 @@ Suppress lints whenever the suggested change would cause breakage for other crat
## `await-holding-invalid-types`
The list of types which may not be held across an await point.
**Default Value:** `[]`

View File

@ -416,6 +416,8 @@ pub fn is_conf_ordered() {
/// Suppress lints whenever the suggested change would cause breakage for other crates.
(avoid_breaking_exported_api: bool = true),
/// Lint: AWAIT_HOLDING_INVALID_TYPE.
///
/// The list of types which may not be held across an await point.
(await_holding_invalid_types: Vec<DisallowedPath> = Vec::new()),
/// DEPRECATED LINT: BLACKLISTED_NAME.
///