about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorllogiq <bogusandre@gmail.com>2025-05-13 05:32:33 +0000
committerGitHub <noreply@github.com>2025-05-13 05:32:33 +0000
commit7bac114c8645d40291502c0d8028ffd16c7e8c01 (patch)
tree99ece48dd10ed738bf7e627e576cb0c1e3d34b9f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentbfc6ad0340dd85f15854388752af8b490ecaee5d (diff)
parent40e1b0ed00878f3229f053398a8d7a49d8b68bcc (diff)
downloadrust-7bac114c8645d40291502c0d8028ffd16c7e8c01.tar.gz
rust-7bac114c8645d40291502c0d8028ffd16c7e8c01.zip
Add new lint: `cloned_ref_to_slice_refs` (#14284)
Added lint for catching `&[foo.clone()]` where foo is a reference and
suggests `std::slice::from_ref(foo)`.

changelog: new lint: [`cloned_ref_to_slice_refs`]
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions