Closure arguments are inferred monomorphically #42947
Labels
A-inference
Area: Type inference
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Without an explicit annotation, closure arguments are inferred to have a concrete lifetime. You must manually annotate the argument in order to satisfy a HRTB.
The text was updated successfully, but these errors were encountered: