]> git.lizzy.rs Git - rust.git/commit
Auto merge of #8964 - tamaroning:read_zero_byte_vec, r=dswij
authorbors <bors@rust-lang.org>
Wed, 15 Jun 2022 06:16:14 +0000 (06:16 +0000)
committerbors <bors@rust-lang.org>
Wed, 15 Jun 2022 06:16:14 +0000 (06:16 +0000)
commit844c06a7c7c01c6d0f6fc36e34eb5d630a8d1380
treeeffcaf1aad531d8fb25c3ddfe4ddc7fa2505cca3
parent32a86c086eefd51c66c7952f2e4c4da8563a1e6f
parent14478bb94b340c34d1ddc33cc0088119c9715358
Auto merge of #8964 - tamaroning:read_zero_byte_vec, r=dswij

Warn about read into zero-length `Vec`

Closes #8886

- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

changelog: none
clippy_lints/src/lib.rs