diff options
| -rw-r--r-- | book/src/lint_configuration.md | 2 | ||||
| -rw-r--r-- | clippy_config/src/conf.rs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/book/src/lint_configuration.md b/book/src/lint_configuration.md index fb717a2c166..aaf58956a8b 100644 --- a/book/src/lint_configuration.md +++ b/book/src/lint_configuration.md @@ -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:** `[]` diff --git a/clippy_config/src/conf.rs b/clippy_config/src/conf.rs index 7d75bdd1b62..2aeca6d0f90 100644 --- a/clippy_config/src/conf.rs +++ b/clippy_config/src/conf.rs @@ -416,6 +416,8 @@ define_Conf! { /// 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. /// |
