Hi. I just ran into a bug where I did not use the boolish value from a function that returned
I quick-checked with the playground whether a
must_use would've saved me, and turns out: it would not have.
Is there a way to make the compiler emit a warning if the
Result<_> part of the return value is used, but the
bool part is not?
Edit: Related PR to the crate which I mis-used: Add must_use lint to interaction functions by matthiasbeyer · Pull Request #117 · mitsuhiko/dialoguer · GitHub