-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue for refactoring types.rs
#6724
Labels
C-tracking-issue
Category: Tracking Issue
Comments
This comment has been minimized.
This comment has been minimized.
rustbot
added
C-tracking-issue
Category: Tracking Issue
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
labels
Feb 12, 2021
This comment has been minimized.
This comment has been minimized.
rustbot
removed
the
I-suggestion-causes-error
Issue: The suggestions provided by this Lint cause an ICE/error when applied
label
Feb 12, 2021
Merged
8 tasks
+1 for splitting that module up further. |
Merged
Merged
bors
added a commit
that referenced
this issue
Mar 16, 2021
Refactor unit types Ref: #6724 r? `@flip1995` Changes: 1. Extract `unit_types` from `types` group. 2. Move lints of `unit_types` to their own modules. Notes: Other lints of `unit_types` is still scattered around the `clippy_lints`, e.g. `result_unit_err` or `option_map_unit_fn`. These should be addressed in another PR. changelog: none
bors
added a commit
that referenced
this issue
Mar 16, 2021
Refactor unit types Ref: #6724 r? `@flip1995` Changes: 1. Extract `unit_types` from `types` group. 2. Move lints of `unit_types` to their own modules. Notes: Other lints of `unit_types` is still scattered around the `clippy_lints`, e.g. `result_unit_err` or `option_map_unit_fn`. These should be addressed in another PR. changelog: none
bors
added a commit
that referenced
this issue
Mar 16, 2021
Refactor unit types Ref: #6724 r? `@flip1995` Changes: 1. Extract `unit_types` from `types` group. 2. Move lints of `unit_types` to their own modules. Notes: Other lints of `unit_types` is still scattered around the `clippy_lints`, e.g. `result_unit_err` or `option_map_unit_fn`. These should be addressed in another PR. changelog: none
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While refactoring
types.rs
in #6680, I found thattypes.rs
contains not only thetypes
group but also other groups like thecast
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
ABSURD_EXTREME_COMPARISONS
INVALID_UPCAST_COMPARISONS
IMPLICIT_HASHER
TYPE_COMPLEXITY
: I think this lint should be grouped intotypes
but the implementation ofLateLintPass
seems slightly different from that ofTypes
. needs further discussion.The text was updated successfully, but these errors were encountered: