diff options
| author | bors <bors@rust-lang.org> | 2021-07-05 13:12:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-05 13:12:43 +0000 |
| commit | 64d74df19c582a10ad41ddce496528e597b06765 (patch) | |
| tree | a5a8c1ebd92f7ce1139ed1ca2db80c8fa8cf49a6 /src/test/codegen/src-hash-algorithm | |
| parent | 3cc67785121c57d285987770bec9a49471639d18 (diff) | |
| parent | 59a164e86c41b4ccfa1e41ec60d7bb8a0f2c87d2 (diff) | |
| download | rust-64d74df19c582a10ad41ddce496528e597b06765.tar.gz rust-64d74df19c582a10ad41ddce496528e597b06765.zip | |
Auto merge of #7243 - mgacek8:issue7145_strlen_on_c_strings, r=giraffate
Add new lint: `strlen_on_c_strings` ~~This is WIP, linting in case of `CString` has been added, but for `CStr`, its diagnostic item needs to be available for clippy. [PR that adds diagnostic item for CStr on rust repo](https://github.com/rust-lang/rust/pull/85439).~~ Ready for the review. Please take a look. fixes #7145 changelog: Add new lint: `strlen_on_c_strings`, that lints on `libc::strlen(some_cstring.as_ptr())`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
