Skip to content

Tracking Issue for refactoring types.rs #6724

Closed
@Y-Nak

Description

@Y-Nak

While refactoring types.rs in #6680, I found that types.rs contains not only the types group but also other groups like the cast group.
This issue is a tracking issue for refactoring types.rs to avoid a too large PR and split them into small PRs.

  • types group(Refactor types lints #6725):
    • BOX_VEC
    • VEC_BOX
    • OPTION_OPTION
    • LINKEDLIST
    • BORROWED_BOX
    • REDUNDANT_ALLOCATION
    • RC_BUFFER
  • casts group(Refactor casts lint #6873):
    • CAST_PRECISION_LOSS
    • CAST_SIGN_LOSS
    • CAST_POSSIBLE_TRUNCATION
    • CAST_POSSIBLE_WRAP
    • CAST_LOSSLESS
    • UNNECESSARY_CAST
    • CAST_PTR_ALIGNMENT
    • FN_TO_NUMERIC_CAST
    • FN_TO_NUMERIC_CAST_WITH_TRUNCATION
    • CHAR_LIT_AS_U8
    • CAST_REF_TO_MUT
    • PTR_AS_PTR
  • unit_type group (Refactor unit types #6889):
    • LET_UNIT_VALUE
    • UNIT_CMP
    • UNIT_ARG
  • another:
    • ABSURD_EXTREME_COMPARISONS
    • INVALID_UPCAST_COMPARISONS
    • IMPLICIT_HASHER
    • TYPE_COMPLEXITY: I think this lint should be grouped into types but the implementation of LateLintPass seems slightly different from that of Types. needs further discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions