Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSome missing type inference in last nightly #44973
Comments
This comment has been minimized.
This comment has been minimized.
|
This is expected; see #41336 (comment) |
This comment has been minimized.
This comment has been minimized.
|
OK, then this issue should be closed down... This could be the biggest breakage of my codebase since Rust V. 1.0 :-) I have had to fix about 1 problem every about 800 lines of my codebase. |
leonardo-m
closed this
Oct 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
leonardo-m commentedOct 2, 2017
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.