I find the default fmt::Display implementation not very useful and kinda always want the #-based alt display. For me, the power of the .context("...") pattern is that it adds context to the error, but if you don't use the alt-display, you're actually just replacing the error message, not adding anything.
Would this project accept a patch that adds an optional feature flag (alt-display or so) that makes that the default display method?
(I would personally go as far as arguing that the alt should be the default.)
I find the default
fmt::Displayimplementation not very useful and kinda always want the#-based alt display. For me, the power of the.context("...")pattern is that it adds context to the error, but if you don't use the alt-display, you're actually just replacing the error message, not adding anything.Would this project accept a patch that adds an optional feature flag (
alt-displayor so) that makes that the default display method?(I would personally go as far as arguing that the alt should be the default.)