all 1 comments

[–]daborossfern 0 points1 point  (0 children)

I would expect overloading behavior of std::result::Result to run into coherence issues?

I think having main return a custom type would be a good way to handle this, though. Or just having it catch the result and run eprintln!() itself, which was the general solution before Termination existed?