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`
|
||||
|
||||
The list of types which may not be held across an await point.
|
||||
|
||||
**Default Value:** `[]`
|
||||
|
||||
|
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user