Skip to content

Commit

Permalink
Convert EMPTY_LINE_AFTER_OUTER_ATTR and `EMPTY_LINE_AFTER_OUTER_ATT…
Browse files Browse the repository at this point in the history
…R` lint into early lints
  • Loading branch information
GuillaumeGomez committed Nov 5, 2024
1 parent ccf7c88 commit 0550c37
Show file tree
Hide file tree
Showing 5 changed files with 446 additions and 424 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/declared_lints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ pub static LINTS: &[&crate::LintInfo] = &[
crate::doc::DOC_LINK_WITH_QUOTES_INFO,
crate::doc::DOC_MARKDOWN_INFO,
crate::doc::EMPTY_DOCS_INFO,
crate::doc::EMPTY_LINE_AFTER_DOC_COMMENTS_INFO,
crate::doc::EMPTY_LINE_AFTER_OUTER_ATTR_INFO,
crate::doc::MISSING_ERRORS_DOC_INFO,
crate::doc::MISSING_PANICS_DOC_INFO,
crate::doc::MISSING_SAFETY_DOC_INFO,
Expand All @@ -157,6 +155,8 @@ pub 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_line_after::EMPTY_LINE_AFTER_DOC_COMMENTS_INFO,
crate::empty_line_after::EMPTY_LINE_AFTER_OUTER_ATTR_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,
Expand Down
342 changes: 0 additions & 342 deletions clippy_lints/src/doc/empty_line_after.rs

This file was deleted.

Loading

0 comments on commit 0550c37

Please sign in to comment.