Better slices array type inference #74626
Labels
A-inference
Area: Type inference
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This code:
Currently (rustc 1.47.0-nightly 8ad7bc3 2020-07-21) this gives:
Is it possible to improve the type system so foo2 too compiles?
The text was updated successfully, but these errors were encountered: