Skip to content

Require (and potentially enforce) attribute-style // issue: rust-lang/rust#12345 comments in issue-related tests #113604

Open
@tgross35

Description

@tgross35

This comes as a followup to #113583

The goal is to add meta comments to all tests related to an issue or ICE (e.g. regression tests) so that we can programmatically extract this information. For example:

// issue: rust-lang/rust#12345
// issue: rust-lang/rust#6789
// ice: rust-lang/rust#1234

// sample link to different repo:
// issue: rust-lang/cargo:1234   

We should make having this a goal for all regression tests going forward, and as a requirement with any renaming that might happen to suit #113583. We can likely do some of this programmatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions