Skip to content
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

redundant_allocation: fix 7487 #7592

Merged
merged 1 commit into from
Aug 24, 2021
Merged

Conversation

lengyijun
Copy link
Contributor

@lengyijun lengyijun commented Aug 22, 2021

Fixes #7487

changelog: [redundant_allocation] - allow Box<Box<dyn T>> which replaces wide pointers with thin pointers

@rust-highfive
Copy link

r? @camsteffen

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 22, 2021
clippy_lints/src/types/redundant_allocation.rs Outdated Show resolved Hide resolved
tests/ui/redundant_allocation.rs Show resolved Hide resolved
@camsteffen
Copy link
Contributor

Thanks @bors r+

@bors
Copy link
Collaborator

bors commented Aug 24, 2021

📌 Commit 641be55 has been approved by camsteffen

@bors
Copy link
Collaborator

bors commented Aug 24, 2021

⌛ Testing commit 641be55 with merge 87c6f32...

@bors
Copy link
Collaborator

bors commented Aug 24, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: camsteffen
Pushing 87c6f32 to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

redundant_allocation should not warn against Box<Box<dyn T>>
4 participants