Skip to content

compiletest: //~ ERROR should be interpreted as applying to all revisions #56279

Closed
@pnkfelix

Description

@pnkfelix

Spawned off of https://github.com/rust-lang/rust/pull/56244/files#r236635792

Right now, you have to write explicit //[rev]~ ERROR annotations for each revision rev in a given test. This is true even when all of the revisions can use identical annotations.

We should change compiletest so that occurrences of //~ ERROR are still parsed and are treated as synonymous for a copy of that same annotation for every revision in the // revisions: set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions