-
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
Fix new_return_no_self with recursive bounds #10086
Conversation
r? @llogiq (rustbot has picked a reviewer for you, use r? to override) |
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.
Great, thanks!
I ran patched / unpatched clippy through lintcheck in order to see if there were any other side effects in lint output but couldn't find anything (hoping I didn't use it wrongly somehow, it has been a while... ^^' )
@bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
@flip1995 IIRC, we agreed this should be backported in Zulip. I've added the label, but let me know if this is not the case. |
Thanks for taking care of this! I'll will do the backport in the next few days. Good thing, I didn't have time to do the sync yesterday, so that gets in earlier 😅 |
…ulacrum [beta] backport clippy stack overflow fix Backports rust-lang/rust-clippy#10086 to the beta branch where the bug is still present. I just cherry-picked the commit. cc `@rust-lang/clippy`
Fix #10041
This uses a hash set, as described in #10068 (comment)
changelog: [
new_return_no_self
]: fix stack overflow when the return type isimpl Trait
and contains recursive bounds