Enable clippy::default_constructed_unit_structs (#8778)

This PR enables the
[`clippy::default_constructed_unit_structs`](https://rust-lang.github.io/rust-clippy/master/index.html#/default_constructed_unit_structs)
rule and fixes the outstanding violations.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-03 12:07:53 -05:00 committed by GitHub
parent 53630dc74c
commit a88df2c103
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -85,7 +85,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::cast_abs_to_unsigned",
"clippy::cmp_owned",
"clippy::crate_in_macro_def",
"clippy::default_constructed_unit_structs",
"clippy::derivable_impls",
"clippy::derive_ord_xor_partial_ord",
"clippy::eq_op",