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
Figure out if we want to add a new associated type to Fn/FnMut, or just have two new traits, i.e. figure out how to unify the fact that LendingFnMut doesn't necessarily have FnOnce as a supertrait.
This will allow us to avoid annoying trait duplication if we want to add
gen ||andasync gen ||closures.We need to lower
impl async Fn()bounds toLendingFnbounds using theassociated_type_boundsfeature. This doesn't work currently until:associated_type_boundsfeature #120584 fixes associated type bounds in some positionsFn/FnMut, or just have two new traits, i.e. figure out how to unify the fact thatLendingFnMutdoesn't necessarily haveFnOnceas a supertrait.