-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Rename {drop,forget}_{copy,ref}
lints to more consistent naming
#111756
Rename {drop,forget}_{copy,ref}
lints to more consistent naming
#111756
Conversation
r? @eholk (rustbot has picked a reviewer for you, use r? to override) |
Some changes occurred in src/tools/clippy cc @rust-lang/clippy The Miri subtree was changed cc @rust-lang/miri |
☔ The latest upstream changes (presumably #111799) made this pull request unmergeable. Please resolve the merge conflicts. |
d74decb
to
6b08a74
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be better to merge these four into a single one, since they are pretty similar and I don't think a user necessarily needs to allow/disallow individual ones.
r? @fee1-dead @bors r+ |
Rollup of 6 pull requests Successful merges: - rust-lang#111501 (MIR drive-by cleanups) - rust-lang#111609 (Mark internal functions and traits unsafe to reflect preconditions) - rust-lang#111612 (Give better error when collecting into `&[T]`) - rust-lang#111756 (Rename `{drop,forget}_{copy,ref}` lints to more consistent naming) - rust-lang#111843 (move lcnr to only review types stuff) - rust-lang#111844 (Migrate GUI colors test to original CSS color format) r? `@ghost` `@rustbot` modify labels: rollup
This PR renames previous uplifted lints in #109732 to more consistent naming.
I followed the renaming done here and also advocated in this clippy issue:
drop_copy
todropping_copy_types
forget_copy
toforgetting_copy_types
drop_ref
todropping_references
forget_ref
toforgetting_references