rust/clippy_lints
Alejandra González d3267e9230
Consider nested lifetimes in mut_from_ref (#14471)
fixes #7749.
This issue proposes searching for `DerefMut` impls, which is not done
here: every lifetime parameter (aka `<'a>`) is the input types is
considered to be potentially mutable, and thus deactivates the lint.

changelog: [`mut_from_ref`]: Fixes false positive, where lifetimes
nested in the type (e.g. `Box<&'a mut T>`) were not considered.
2025-04-14 23:43:42 +00:00
..
src Consider nested lifetimes in mut_from_ref (#14471) 2025-04-14 23:43:42 +00:00
Cargo.toml Bump Clippy version -> 0.1.88 2025-04-03 21:32:37 +02:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

This crate contains Clippy lints. For the main crate, check GitHub.