Allow Box<[JsValue]> parameter type#4371
Conversation
| return false; | ||
| } | ||
|
|
||
| !ty.boxed_ty() |
There was a problem hiding this comment.
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