Skip to content

Test examples in extended diagnostics #27328

Closed
@brson

Description

@brson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions