You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rust 1.18 regression, constrained-0.1.0, cannot infer type #41796
I can fix this with a simple type annotation, but the trouble is, this comes from a fairly old version of sprs (0.3.0, but I'm developping over version 0.5.0 with several breaking changes). I cannot patch version 0.3.0 and submit a fixed version on crates.io, since there are already versions 0.3.x published.
On solution I can see is for constrained to depend upon version 0.3.3 or later, and I could fix the type inference in a version 0.3.4.
This seems to work for me now. (I just pulled the latest beta and did a build.) I'm going to close this as a dup of #41716. @dylanede let me know if you disagree.
Activity
brson commentedon May 6, 2017
Oh the failure is actually in sprs-0.3.0 cc @vbarrielle.
vbarrielle commentedon May 7, 2017
Hello,
I can fix this with a simple type annotation, but the trouble is, this comes from a fairly old version of sprs (0.3.0, but I'm developping over version 0.5.0 with several breaking changes). I cannot patch version 0.3.0 and submit a fixed version on crates.io, since there are already versions 0.3.x published.
On solution I can see is for constrained to depend upon version 0.3.3 or later, and I could fix the type inference in a version 0.3.4.
How does that sound?
Mark-Simulacrum commentedon May 8, 2017
84be2df -- #41236 (second time)
brson commentedon May 8, 2017
@vbarrielle let's see if it's a bug on our side before you work around it.
nikomatsakis commentedon May 9, 2017
Possibly related to #41727
nikomatsakis commentedon May 9, 2017
Good news, this seems to build on my PR #41716, which is a fix for #41716.
brson commentedon May 25, 2017
Still repros on 1.18.0-beta.3. I'll bump beta to .4.
nikomatsakis commentedon May 25, 2017
@brson this was backported in #42182, which landed 2 days ago -- not sure which beta that is though
nikomatsakis commentedon May 31, 2017
This seems to work for me now. (I just pulled the latest beta and did a build.) I'm going to close this as a dup of #41716. @dylanede let me know if you disagree.