cbdf17c884
Add `await_holding_invalid_type` lint changelog: [`await_holding_invalid_type`] This lint allows users to create a denylist of types which are not allowed to be held across await points. This is essentially a re-implementation of the language-level [`must_not_suspend` lint](https://github.com/rust-lang/rust/issues/83310). That lint has a lot of work still to be done before it will reach Rust stable, and in the meantime there are a lot of types which can trip up developers if they are used improperly. I originally implemented this specifically for `tracing::span::Entered`, until I discovered #8434 and read the commentary on that PR. Given this implementation is fully user configurable, doesn't tie clippy to any one particular crate, and introduces no additional dependencies, it seems more appropriate. |
||
---|---|---|
.. | ||
await_holding_invalid_type | ||
bad_toml | ||
bad_toml_type | ||
conf_deprecated_key | ||
fn_params_excessive_bools | ||
functions_maxlines | ||
good_toml_no_false_negatives | ||
invalid_min_rust_version | ||
lint_decimal_readability | ||
max_suggested_slice_pattern_length | ||
min_rust_version | ||
missing_enforced_import_rename | ||
nonstandard_macro_braces | ||
strict_non_send_fields_in_send_ty | ||
struct_excessive_bools | ||
toml_blacklist | ||
toml_disallowed_methods | ||
toml_disallowed_types | ||
toml_trivially_copy | ||
toml_unknown_key | ||
upper_case_acronyms_aggressive | ||
vec_box_sized | ||
zero_single_char_names | ||
update-all-references.sh |