You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #143900 - GuillaumeGomez:fix-no-run, r=lolbinarycat,fmease
[rustdoc] Correctly handle `should_panic` doctest attribute and fix `--no-run` test flag on the 2024 edition
Fixes#143009.
Fixes#143858.
Since it includes fixes from #143453, it's taking it over (commits 2, 3 and 4 are from #143453).
For `--no-run`, we forgot to check the "global" options in the 2024 edition, fixed in the first commit.
For `should_panic` fix, the exit code check has been fixed.
cc `@TroyKomodo` (thanks so much for providing such a complete test, made my life a lot easier!)
r? `@notriddle`
0 commit comments