News for hackers. Stuff that matters.
Re:Rust Just Failed an Important Test by mtndew4brkfst on Thursday August 01, 2024 @01:38PM (#41131537)
I wish rustc had a way to 'pin' the output of type inference

Would that not be "take the outcome of said type inference, write it into the LHS as a type declaration or into the RHS as a generic parameter", aka make the inferred type permanently declared? We're not totally powerless for addressing the practical implication here, and I don't know how we could have stable yet still implicit type inference across compiler versions unless that type inference logic never changed ever again.

There are no comments on this comment yet.