diff options
| author | Aneesh Kadiyala <143342960+ARandomDev99@users.noreply.github.com> | 2023-12-29 19:23:31 +0530 |
|---|---|---|
| committer | Aneesh Kadiyala <143342960+ARandomDev99@users.noreply.github.com> | 2023-12-29 19:23:31 +0530 |
| commit | 1ee9993a962d9f2990bbdac91c792ca893f10b54 (patch) | |
| tree | 5db2cf80076f778c4b5c442c0475ca1a2e38acf6 /clippy_lints/src/declared_lints.rs | |
| parent | 174a0d7be6f18bf6470a46d107e4b3f0b870c315 (diff) | |
| download | rust-1ee9993a962d9f2990bbdac91c792ca893f10b54.tar.gz rust-1ee9993a962d9f2990bbdac91c792ca893f10b54.zip | |
add new lint, empty_enum_variants_with_brackets
- Add a new early pass lint. - Add relevant UI tests.
Diffstat (limited to 'clippy_lints/src/declared_lints.rs')
| -rw-r--r-- | clippy_lints/src/declared_lints.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/declared_lints.rs b/clippy_lints/src/declared_lints.rs index 9dd22135d95..b606bb4aa33 100644 --- a/clippy_lints/src/declared_lints.rs +++ b/clippy_lints/src/declared_lints.rs @@ -150,7 +150,8 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[ crate::else_if_without_else::ELSE_IF_WITHOUT_ELSE_INFO, crate::empty_drop::EMPTY_DROP_INFO, crate::empty_enum::EMPTY_ENUM_INFO, - crate::empty_structs_with_brackets::EMPTY_STRUCTS_WITH_BRACKETS_INFO, + crate::empty_with_brackets::EMPTY_ENUM_VARIANTS_WITH_BRACKETS_INFO, + crate::empty_with_brackets::EMPTY_STRUCTS_WITH_BRACKETS_INFO, crate::endian_bytes::BIG_ENDIAN_BYTES_INFO, crate::endian_bytes::HOST_ENDIAN_BYTES_INFO, crate::endian_bytes::LITTLE_ENDIAN_BYTES_INFO, |
