Skip to content

compiletest: check_no_compiler_crash doesn't catch non-ICE panics #49888

Closed
@cuviper

Description

@cuviper

As noted in #49826 (comment), currently rustc is panicking on compile-fail/issue-36638 (which I will file as a separate bug), but compiletest does not detect this because it's also not caught as an ICE (to be fixed by #49826). In check_no_compiler_crash, it only looks for the literal string "error: internal compiler error".

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions