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

borrowed_box: Ignore return types #10991

Closed
wants to merge 1 commit into from

Conversation

blyxyas
Copy link
Member

@blyxyas blyxyas commented Jun 19, 2023

Now borrowed_box ignores a &Box<T> if its being used as a return type.
Fixes #10982 (new discussion just arised in #10982, please read that issue)

changelog:none

@rustbot
Copy link
Collaborator

rustbot commented Jun 19, 2023

r? @giraffate

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jun 19, 2023
@blyxyas blyxyas closed this Jun 22, 2023
@blyxyas blyxyas reopened this Jun 22, 2023
@bors
Copy link
Collaborator

bors commented Jul 13, 2023

☔ The latest upstream changes (presumably #11095) made this pull request unmergeable. Please resolve the merge conflicts.

@blyxyas blyxyas closed this Jul 13, 2023
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.

clippy::borrowed_box shouldn't warn on return type
4 participants