-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Test examples in extended diagnostics #27328
Copy link
Copy link
Closed
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcT-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.
Metadata
Metadata
Assignees
Labels
A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcT-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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The extended error explanations are filled with amazing examples, but they are not validated in any way.
Having these tested would be a great extension to the test suite and ensure that they do not become misleading as they bitrot.
Since many of these examples don't compile, we might need to improve rustdoc's testing of compile failures.
cc @GuillaumeGomez @steveklabnik