about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2025-04-14 23:43:42 +0000
committerGitHub <noreply@github.com>2025-04-14 23:43:42 +0000
commitd3267e9230940757fde2fcb608605bf8dbfd85e1 (patch)
treeb256471ab550932e3cd85059109901499585f680 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent02764f611abab492663099ee6f3809c435f19ce6 (diff)
parentfb8e574886b2e14114ccba698462eaf6c1e394d9 (diff)
downloadrust-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