Add docs for await_holding_invalid_types
This commit is contained in:
parent
a54e3130ca
commit
84dc56923b
@ -364,7 +364,7 @@ Suppress lints whenever the suggested change would cause breakage for other crat
|
|||||||
|
|
||||||
|
|
||||||
## `await-holding-invalid-types`
|
## `await-holding-invalid-types`
|
||||||
|
The list of types which may not be held across an await point.
|
||||||
|
|
||||||
**Default Value:** `[]`
|
**Default Value:** `[]`
|
||||||
|
|
||||||
|
@ -416,6 +416,8 @@ define_Conf! {
|
|||||||
/// Suppress lints whenever the suggested change would cause breakage for other crates.
|
/// Suppress lints whenever the suggested change would cause breakage for other crates.
|
||||||
(avoid_breaking_exported_api: bool = true),
|
(avoid_breaking_exported_api: bool = true),
|
||||||
/// Lint: AWAIT_HOLDING_INVALID_TYPE.
|
/// 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()),
|
(await_holding_invalid_types: Vec<DisallowedPath> = Vec::new()),
|
||||||
/// DEPRECATED LINT: BLACKLISTED_NAME.
|
/// DEPRECATED LINT: BLACKLISTED_NAME.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user