Skip to content

Switch from trybuild to ui-test #187

@joshlf

Description

@joshlf

See also: #560

The trybuild crate keeps track of expected compiler errors in a separate .stderr file - one .stderr file per .rs file. This makes it difficult to audit updates to these files, which tend to be very cluttered and verbose, and makes issues like #706 / #707 more likely to slip through.

By contrast, the ui-test crate allows annotating expected errors in an inline comment, which is much more readable and thus much less error-prone. It will also make it feasible for us to combine multiple tests in a single file without worrying about it increasing the likelihood of errors slipping through.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions