Skip to content

Teach compiletest about multispans #31380

Closed
@mitaa

Description

@mitaa

Compiletest needs to understand multispans before they can actually be used in compiler output.

This makes expected-error-checking more complicated because multiple errors can be folded into a single one, breaking a core assumption of the current code.

Because of this I suggest to switch to the new JSON error output format. (though how should stderr, raw json, be shown to the user in case of test failure?)

cc @nrc, @brson

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-infraRelevant to the infrastructure 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