-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Regression on doc-tests with statements and a main function #140162
Copy link
Copy link
Closed
Labels
A-doctestsArea: Documentation tests, run by rustdocArea: Documentation tests, run by rustdocC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Metadata
Metadata
Assignees
Labels
A-doctestsArea: Documentation tests, run by rustdocArea: Documentation tests, run by rustdocC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
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