Skip to content

New redundant boxed types lint #14919

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

whirm
Copy link

@whirm whirm commented May 30, 2025

fixes #2394

changelog: [redundant_box]: Lint on unnecessarily boxed types (sized types no bigger than a thin pointer).

whirm and others added 2 commits May 30, 2025 09:10
Co-Authored-by: Félix Fischer <[email protected]>
Co-Authored-by: Hugo McNally <[email protected]>
@whirm whirm force-pushed the feat/redundant_box_lint branch from a09bb45 to eebfaff Compare May 30, 2025 07:28
@rustbot
Copy link
Collaborator

rustbot commented Jun 2, 2025

☔ The latest upstream changes (possibly d7b27ec) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Politely mention that Box<&T> is almost the most useless type you can have
2 participants