Regression on doc-tests with statements and a main function #140162
Labels
A-doctests
Area: Documentation tests, run by rustdoc
C-bug
Category: This is a bug.
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Code
I tried this code:
On stable, running this doctest succeeds. On beta, it triggers this error:
Version it worked on
It most recently worked on: Latest stable (i.e. rustc 1.86.0)
Version with regression
rustc --version --verbose
:@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged
The text was updated successfully, but these errors were encountered: