Skip to content

Run-pass checks for warnings, notes, etc. #59659

Description

@Centril

When writing #59658, I found it neccesary to check for warnings in a run-pass test because deny(warning) would observably change the warning pattern I was testing for in the first place.

It would be nice if run-pass would check for WARN, NOTE, HELP, etc. and cause a test failure if those are not found when expected. A bonus point for failing for unexpected WARNs etc. as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.A-testsuiteArea: The testsuite used to check the correctness of rustcT-compilerRelevant to the compiler 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