diff options
| author | llogiq <bogusandre@gmail.com> | 2025-05-13 05:32:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-13 05:32:33 +0000 |
| commit | 7bac114c8645d40291502c0d8028ffd16c7e8c01 (patch) | |
| tree | 99ece48dd10ed738bf7e627e576cb0c1e3d34b9f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | bfc6ad0340dd85f15854388752af8b490ecaee5d (diff) | |
| parent | 40e1b0ed00878f3229f053398a8d7a49d8b68bcc (diff) | |
| download | rust-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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
