-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Fixes #29946 (missing drop in FnOnce adapter for closures) #31462
Conversation
r? @jroesch (rust_highfive has picked a reviewer for you, use r? to override) |
c01f6d0
to
6940ae5
Compare
r? @pnkfelix |
6940ae5
to
f08626b
Compare
@bors r+ |
📌 Commit f08626b has been approved by |
⌛ Testing commit f08626b with merge 0ce3399... |
💔 Test failed - auto-win-gnu-64-nopt-t |
Just for your information, after running tests with leak sanitizer I noticed |
@tmiasko Nice to see it's fixed more than just the original reporter's issue :) The explicit test in this PR explicitly checks for this case, so it shouldn't pop up again. Re the failed test, it looks like the test runner timed out during the net tests. Not sure if this is a known transient failure or not. |
@bors retry |
Generates drop calls at the end of the Fn/FnMut -> FnOnce closure shim Fix #29946
Generates drop calls at the end of the Fn/FnMut -> FnOnce closure shim
Fix #29946