-
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
redundant_closure
fixes
#8685
redundant_closure
fixes
#8685
Conversation
r? @Manishearth (rust-highfive has picked a reviewer for you, use r? to override) |
e27f838
to
41be5d3
Compare
may not have time to get to this quickly, bouncing it over, feel free to bounce to someone else |
☔ The latest upstream changes (presumably #8676) made this pull request unmergeable. Please resolve the merge conflicts. |
r? @flip1995 |
I will be on $day_job vacation starting Saturday and then finally have time to go through my whole review queue over the weekend and next week 🎉 |
41be5d3
to
0c7a202
Compare
☔ The latest upstream changes (presumably #9447) made this pull request unmergeable. Please resolve the merge conflicts. |
0c7a202
to
73ef072
Compare
ping @flip1995. Just a reminder this still exists. |
7763efd
to
686ae9b
Compare
☔ The latest upstream changes (presumably #10401) made this pull request unmergeable. Please resolve the merge conflicts. |
686ae9b
to
d75101d
Compare
☔ The latest upstream changes (presumably #10473) made this pull request unmergeable. Please resolve the merge conflicts. |
d75101d
to
ca658d5
Compare
☔ The latest upstream changes (presumably #10520) made this pull request unmergeable. Please resolve the merge conflicts. |
0395535
to
6a0af57
Compare
☔ The latest upstream changes (presumably #11048) made this pull request unmergeable. Please resolve the merge conflicts. |
Took me a while to read through, but looks good to me. r=me with the conflicts fixed. @bors delegate |
Oops, missed a plus sign. @bors delegate+ |
Improve debug assertions for `make_projection`
6a0af57
to
d881143
Compare
* Better track when a early-bound region appears when a late-bound region is required * Don't lint when the closure gives explicit types.
d881143
to
7423c27
Compare
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
fixes #8548
A good chunk of the code is fixing false negatives. The old code banned any non late-bound regions from appearing in the callee's signature. The new version checks when the late-bound region is actually required.
changelog: Better track when a early-bound region appears when a late-bound region is required in
redundant_closure
.changelog: Don't lint
redundant_closure
when the closure gives explicit types.