]> git.lizzy.rs Git - rust.git/commitdiff
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)
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

1  2 
clippy_lints/src/lib.rs

Simple merge