Files
rust/tests/rustdoc-ui/doctest
Matthias Krüger cfc2297cfc Rollup merge of #139328 - GuillaumeGomez:fix-panic-output-137970, r=fmease
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````
2025-04-04 21:54:57 +02:00
..
2024-11-22 11:12:15 -08:00
2024-02-29 14:43:43 +01:00
2024-02-29 14:43:43 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-12-31 15:11:18 +08:00