Skip to content

double-check rustdoc tests to ensure @!has and @!matches are expected #49713

Closed
@QuietMisdreavus

Description

@QuietMisdreavus

In PRs like #49335, when a rustdoc test is checking for the absence of something, it's easy to hit a false negative with a typo. It would be prudent to make an audit of the src/test/rustdoc tests, see which of them use @!has or @!matches rules, and double-check whether their condition is valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.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