Skip to content

tests: double check if tests contain incorrect follow-up error annotation syntax //| instead of //~| #127155

Closed

Description

@jieyouxu

If e.g. //| HELP is used, I believe it is just disregarded by compiletest and no help message is actually checked.

Activity

  1. added
    A-testsuiteArea: The testsuite used to check the correctness of rustc
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    C-bugCategory: This is a bug.
    A-compiletestArea: The compiletest test runner
    on Jun 30, 2024
  2. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Jun 30, 2024
  3. removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Jun 30, 2024
  4. self-assigned this
    on Jun 30, 2024
  5. jieyouxu commented on Jun 30, 2024

    @jieyouxu
    MemberAuthor

    Actually a cursory search shows just tests/ui/return/tail-expr-as-potential-return.rs being the one test that seems to have this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-compiletestArea: The compiletest test runnerA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions