diff options
| author | bors <bors@rust-lang.org> | 2023-12-01 19:02:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-01 19:02:59 +0000 |
| commit | ee8376075d8fcfa0bacc316e0417981cd458044c (patch) | |
| tree | 6bded40173f127c15fd8c97d525eaa2bb0388012 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 5ac76ac54f5616f8d49c2faea81c6b734a316bce (diff) | |
| parent | 4de845e375c7679b919f624227a8004476e2c153 (diff) | |
| download | rust-ee8376075d8fcfa0bacc316e0417981cd458044c.tar.gz rust-ee8376075d8fcfa0bacc316e0417981cd458044c.zip | |
Auto merge of #11837 - y21:issue11835, r=dswij
[`missing_asserts_for_indexing`]: accept length equality checks Fixes #11835 The lint now allows indexing with indices 0 and 1 when an `assert!(x.len() == 2);` is found. (Also fixed a typo in the doc example) changelog: [`missing_asserts_for_indexing`]: accept len equality checks as a valid assertion
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
