Skip to content

Commit 0434b85

Browse files
committed
pedantic -> restriction
1 parent 49a9740 commit 0434b85

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

clippy_lints/src/empty_structs_with_brackets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ declare_clippy_lint! {
2323
/// ```
2424
#[clippy::version = "1.62.0"]
2525
pub EMPTY_STRUCTS_WITH_BRACKETS,
26-
pedantic,
26+
restriction,
2727
"finds struct declarations with empty brackets"
2828
}
2929
declare_lint_pass!(EmptyStructsWithBrackets => [EMPTY_STRUCTS_WITH_BRACKETS]);

clippy_lints/src/lib.register_pedantic.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ store.register_group(true, "clippy::pedantic", Some("clippy_pedantic"), vec![
2727
LintId::of(doc::MISSING_ERRORS_DOC),
2828
LintId::of(doc::MISSING_PANICS_DOC),
2929
LintId::of(empty_enum::EMPTY_ENUM),
30-
LintId::of(empty_structs_with_brackets::EMPTY_STRUCTS_WITH_BRACKETS),
3130
LintId::of(enum_variants::MODULE_NAME_REPETITIONS),
3231
LintId::of(eta_reduction::REDUNDANT_CLOSURE_FOR_METHOD_CALLS),
3332
LintId::of(excessive_bools::FN_PARAMS_EXCESSIVE_BOOLS),

clippy_lints/src/lib.register_restriction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ store.register_group(true, "clippy::restriction", Some("clippy_restriction"), ve
1616
LintId::of(default_union_representation::DEFAULT_UNION_REPRESENTATION),
1717
LintId::of(disallowed_script_idents::DISALLOWED_SCRIPT_IDENTS),
1818
LintId::of(else_if_without_else::ELSE_IF_WITHOUT_ELSE),
19+
LintId::of(empty_structs_with_brackets::EMPTY_STRUCTS_WITH_BRACKETS),
1920
LintId::of(exhaustive_items::EXHAUSTIVE_ENUMS),
2021
LintId::of(exhaustive_items::EXHAUSTIVE_STRUCTS),
2122
LintId::of(exit::EXIT),

0 commit comments

Comments
 (0)