mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Add docs for await_holding_invalid_types
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user