]> git.proxmox.com Git - cargo.git/commit
Auto merge of #9906 - camelid:fix-warnings, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 13 Sep 2021 17:31:11 +0000 (17:31 +0000)
committerEric Huss <eric@huss.org>
Tue, 14 Sep 2021 20:28:12 +0000 (13:28 -0700)
commitc7b13235ad28a301bb8c55d7060fc5898fb76e92
tree775514562e6b17ad621ec0f41a688699fce50613
parent8f3be5dbeb6a2faa17c4f733a514ba0deededb8d
Auto merge of #9906 - camelid:fix-warnings, r=alexcrichton

Fix warnings from better precision of `dead_code` lint

The lint now ignores derived `Clone` and `Debug` implementations, as of
PR rust-lang/rust#85200, which landed a couple of days ago.

I sprinkled `#[allow(dead_code)]` in a few places; the fields are not
expected to be read since they are just part of a very specific test.
tests/testsuite/config.rs