-
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
Allow Box<[JsValue]>
parameter type
#4371
Conversation
return false; | ||
} | ||
|
||
!ty.boxed_ty() |
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.
IMO this function is clearer if you just write ty.is_box() && !ty.boxed_ty().is_sized(..)
Everything else LGTM.
I don't think this fixes the issue. The code changed relates to the unstable |
Good catch. I also think, that #4351 (comment) is the right solution. |
Box<[JsValue]>
parameter type
I'm trying to implement this as we discussed in the issue, but I'm struggling on how to check if the boxed type is a |
You can add the whole path of the |
☔ The latest upstream changes (presumably #4591) made this pull request unmergeable. Please resolve the merge conflicts. |
Thanks for contributing to Clippy! Sadly this PR was not updated in quite some time. If you waited on input from a reviewer, we're sorry that this fell under the radar. If you want to continue to work on this, just reopen the PR and/or ping a reviewer. |
changelog: Don't warn boxed_local for unsized
fixes #4351