diff options
| author | Alejandra González <blyxyas@gmail.com> | 2025-04-14 23:43:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-14 23:43:42 +0000 |
| commit | d3267e9230940757fde2fcb608605bf8dbfd85e1 (patch) | |
| tree | b256471ab550932e3cd85059109901499585f680 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 02764f611abab492663099ee6f3809c435f19ce6 (diff) | |
| parent | fb8e574886b2e14114ccba698462eaf6c1e394d9 (diff) | |
| download | rust-d3267e9230940757fde2fcb608605bf8dbfd85e1.tar.gz rust-d3267e9230940757fde2fcb608605bf8dbfd85e1.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
