Add a dont-check-error-annotations
to compiletest
#132647
Labels
A-compiletest
Area: The compiletest test runner
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
cc @jieyouxu
It would be nice if compiletest could support a
//@ dont-check-error-annotations
annotation that would not require you to annotate your file with//~^ ERROR:
anywhere. This would be useful for cases where I only care that the test doesn't start ICEing. Ideally we'd never need this but sometimes I wind up with hundreds of errors with useless spans and it's just not realistic (or helpful) to annotate it all. See for example this test, all the error annotations are in the wrong place as macro diagnostics emit the error on the macro definition not the caller. This means that we'd wind up with ~100 error annotations on the insides of the macros which is not a helpful assertion whatsoever.The text was updated successfully, but these errors were encountered: