about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorTimo <30553356+y21@users.noreply.github.com>2025-06-20 22:11:49 +0000
committerGitHub <noreply@github.com>2025-06-20 22:11:49 +0000
commit35026c7ea8aab0e7680e7f84740fafcdeb6f11a9 (patch)
tree6a606a51f1cc06a851416e14e54d8d2331937488 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent37cb83488afb47c3405da01f170def7ac4104f51 (diff)
parent322e1393a48a65164254740680d41bdcbee6195f (diff)
downloadrust-35026c7ea8aab0e7680e7f84740fafcdeb6f11a9.tar.gz
rust-35026c7ea8aab0e7680e7f84740fafcdeb6f11a9.zip
Fix false positive of `borrow_deref_ref` (#14967)
If a reborrow is itself borrowed mutably, do not propose to replace it
by the original reference.

Fixes: rust-lang/rust-clippy#14934

changelog: [`borrow_deref_ref`]: do not propose replacing a reborrow by
the original reference if the reborrow is itself mutably borrowed
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions