Some missing type inference in last nightly #44973
Labels
A-inference
Area: Type inference
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The latest Nightly (rustc 1.22.0-nightly f1b5225 2017-10-01, Gnu64) doesn't perform type inference in many cases, an example:
Gives:
I have seen several other cases of missed type inference in this Nightly, with sum() and product() in code that compiles every day since months.
The Beta and the Nightly of one or two days before doesn't show this problem.
The text was updated successfully, but these errors were encountered: