-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Liberate late-bound regions rather than erasing them in needless_pass_by_value
#10328
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
Liberate late-bound regions rather than erasing them in needless_pass_by_value
#10328
Conversation
For the record, I have no idea how to make a clippy PR, or clippy UI test for that matter. Let me know if I did something wrong -- worst case, I can always open this against the rust-lang/rust repo :^) |
Looks good to me, yeah, basically just create foo.rs and foo.stderr in in the test directory and that's it. :) Just two nites:
|
372ece7
to
0e3aa18
Compare
0e3aa18
to
17cb2e4
Compare
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.
Thanks!
@bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
changelog: [
needless_pass_by_value
]: fixes an ICE when there are late-bound regions in function arguments that are needlessly passed by valueFixes rust-lang/rust#107147
r? @matthiaskrgr