You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
When capture_disjoint_fields is enabled, this closure doesn't capture x, implying c can be coerced to an FnPtr.
However, the code that checks if coercion can happen depends on upvars_mentioned which are computed before the capture analysis and would result in an error.
The text was updated successfully, but these errors were encountered:
Consider the following closure:
When
capture_disjoint_fields
is enabled, this closure doesn't capturex
, implyingc
can be coerced to anFnPtr
.However, the code that checks if coercion can happen depends on
upvars_mentioned
which are computed before the capture analysis and would result in an error.The text was updated successfully, but these errors were encountered: