Re:Announcing Rust 1.13
by iand on Thursday November 10, 2016 @06:38PM
(#12925765)
Er... https://play.golang.org/p/QyQVFfPIhx
[ Parent
| on HN ]
Is this a recent change? I've with 100% been bitten by this before, repeatedly, and the go compiler did nothing to warn about it.
Maybe for a side-effecting function which would only return an error?
edit: nope, fails with "err evaluated but not used".
I'm genuinely stumped. If they've fixed this, that's fantastic because I have absolutely shipped code with this bug to a production environment.