Rollup merge of #139489 - petrochenkov:noreqann, r=jieyouxu

compiletest: Add directive `dont-require-annotations`

for making matching on specific diagnostic kinds non-exhaustive.

E.g. `//@ dont-require-annotations:ERROR`, like in the examples in this PR.

cc https://github.com/rust-lang/rust/pull/139427#issuecomment-2782827583

Closes #132647 FYI `@BoxyUwU` since you've wanted this.

r? `@jieyouxu`
This commit is contained in:
Matthias Krüger 2025-04-09 20:23:10 +02:00 committed by GitHub
commit 370fa41def
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available