Skip to content

Rustdoc --test and error messages #16303

Closed
@steveklabnik

Description

@steveklabnik

Often, when explaining something, I want to show some code that errors, and then show the error. Because it errors, I have to mark it ignore. It'd be nice if Rustdoc could understand that something is supposed to error, and then make sure the error message matches the one displayed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-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