about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-17 16:26:28 +0000
committerbors <bors@rust-lang.org>2021-01-17 16:26:28 +0000
commit990e2b35b2450c2a845d32412fff62a12b9a588f (patch)
treeb5717cae0fa0a752e1f0a8fce1a44c707be79867 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parente0d331fbf414bdbbb03f950609d5538fe60f5dc8 (diff)
parent9146a77032e7d8c96ccae177c60ddb04b6159329 (diff)
downloadrust-990e2b35b2450c2a845d32412fff62a12b9a588f.tar.gz
rust-990e2b35b2450c2a845d32412fff62a12b9a588f.zip
Auto merge of #6528 - Jarcho:redundant_slicing, r=flip1995
New lint: redundant_slicing

changelog: Added lint: `redundant_slicing`
fixes #6519

This will trigger on any type which implements `Index<RangeFull>` that returns the input type. This would be a false positive if the implementation does something other than return itself, but I'm not sure why you would ever want to do that.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions