Skip to content

Several of the tests in tests/ui/error-codes/ do not actually test the respective error code #120935

Open
@RalfJung

Description

@RalfJung

I noticed this for tests/ui/error-codes/E0388.rs and tests/ui/error-codes/E0017.rs, which both don't trigger the respective error code.

I did some random sampling and most tests are fine, but found one more that is not: tests/ui/error-codes/E0396.rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-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