Skip to content

compiletest: crashes tests should mention COMPILETEST_VERBOSE_CRASHES if no longer crashes #130776

@jieyouxu

Description

@jieyouxu

E.g. if a test doesn't have a main fn it can prevent the test from ICEing because ICEing codepath might not yet be reached before compilation is aborted. In this case, the stderr should be printed to help the person figure out that "I forgor to annotate crate type" is the cause.

Metadata

Metadata

Assignees

Labels

A-compiletestArea: The compiletest test runnerA-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-testsuiteArea: The testsuite used to check the correctness of rustcT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions