8eafeeb47a
Rework interior mutability detection Replaces the existing interior mutability detection, the two main changes being - It now follows references/pointers e.g. `struct S(&Cell)` - `mutable_key_type` ignores pointers as it did before - The `ignore_interior_mutability` config now applies to types containing the ignored type, e.g. `http::HeaderName` Fixes https://github.com/rust-lang/rust-clippy/issues/7752 Fixes https://github.com/rust-lang/rust-clippy/issues/9776 Fixes https://github.com/rust-lang/rust-clippy/issues/9801 changelog: [`mutable_key_type`], [`declare_interior_mutable_const`]: now considers types that have references to interior mutable types as interior mutable |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |