mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
cfc2297cfc
Fix 2024 edition doctest panic output Fixes #137970. The problem was that the output was actually displayed by rustc itself because we're exiting with `Result<(), String>`, and the display is really not great. So instead, we get the output, we print it and then we return an `ExitCode`. r? ````@aDotInTheVoid````