Closed
Description
e.g.,
unable to infer enough type information about `_`
and inline:
cannot infer type for `_`
This is when calling a function with a generic type parameter. The actual type parameter is inferred, so we can't name it, but there is a corresponding formal parameter we could name.
E.g., if calling foo<T>(...)
we have foo(...)
and so get a type error for _
, but we could mention T
here, something like
cannot infer type for `_`, the inferred type corresponding to `T` in this call to `foo`