Skip to content

test suite: ERROR and WARN annotations are not mandatory in UI tests #55596

Closed
@petrochenkov

Description

@petrochenkov

Example: ui/parser/if-in-in.rs.
The test has errors and has corresponding .stderr file, but has no //~ ERROR annotations and it still passes.
This should not happen, //~ ERROR and //~ WARN annotations must be mandatory even if none of them are written in the test yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.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