about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-31 16:42:50 +0000
committerbors <bors@rust-lang.org>2024-05-31 16:42:50 +0000
commit28e887fe719ed8fdcf2047c2e587efcd25e4d62e (patch)
tree5d141e5d98ff76adfc61b7118697e8c1c4b17664 /compiler/rustc_codegen_llvm/src
parent0b598b636bc90d571aec60569713adfeb86d7819 (diff)
parent1c117f12eaa94070cf18487a9283167c6b1d8e1d (diff)
downloadrust-28e887fe719ed8fdcf2047c2e587efcd25e4d62e.tar.gz
rust-28e887fe719ed8fdcf2047c2e587efcd25e4d62e.zip
Auto merge of #12488 - Jacherr:issue-11525, r=llogiq
Disable `indexing_slicing` for custom Index impls

Fixes https://github.com/rust-lang/rust-clippy/issues/11525

Disables `indexing_slicing` for custom Index impls, specifically any implementations that also do not have a `get` method anywhere along the deref chain (so, for example, it still lints on Vec, which has its `get` method as part of the deref chain).

Thanks `@y21` for pointing me in the right direction with a couple of handy util functions for deref chain and inherent methods, saved a headache there!

changelog: FP: Disable `indexing_slicing` for custom Index impls
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions