compiletest: Add directive dont-require-annotations#139489
compiletest: Add directive dont-require-annotations#139489bors merged 2 commits intorust-lang:masterfrom
dont-require-annotations#139489Conversation
|
Some changes occurred in src/tools/compiletest cc @jieyouxu |
|
Side note: |
|
Yeah, that's a long-standing issue that I want to fix eventually, but doesn't need to block this. |
jieyouxu
left a comment
There was a problem hiding this comment.
Thanks! This is a very nice improvement for cases where there's really just unfortunate errors that are too fragile/target-dependent to match against.
|
@bors r+ rollup |
|
☔ The latest upstream changes (presumably #139536) made this pull request unmergeable. Please resolve the merge conflicts. |
for making matching on specific diagnostic kinds non-exhaustive
|
@bors r=jieyouxu |
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#138470 (Test interaction between RFC 2229 migration and use closures) - rust-lang#138628 (Add more ergonomic clone tests) - rust-lang#139164 (std: improve documentation for get_mut() methods regarding forgotten guards) - rust-lang#139488 (Add missing regression GUI test) - rust-lang#139489 (compiletest: Add directive `dont-require-annotations`) - rust-lang#139513 (Report higher-ranked trait error when higher-ranked projection goal fails in new solver) - rust-lang#139521 (triagebot: roll compiler reviewers for rustc/unstable book) - rust-lang#139532 (Update `u8`-to-and-from-`i8` suggestions.) - rust-lang#139551 (report call site of inlined scopes for large assignment lints) - rust-lang#139575 (Remove redundant words) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#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 rust-lang#139427 (comment) Closes rust-lang#132647 FYI `@BoxyUwU` since you've wanted this. r? `@jieyouxu`
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#138470 (Test interaction between RFC 2229 migration and use closures) - rust-lang#138628 (Add more ergonomic clone tests) - rust-lang#139164 (std: improve documentation for get_mut() methods regarding forgotten guards) - rust-lang#139488 (Add missing regression GUI test) - rust-lang#139489 (compiletest: Add directive `dont-require-annotations`) - rust-lang#139513 (Report higher-ranked trait error when higher-ranked projection goal fails in new solver) - rust-lang#139521 (triagebot: roll compiler reviewers for rustc/unstable book) - rust-lang#139532 (Update `u8`-to-and-from-`i8` suggestions.) - rust-lang#139551 (report call site of inlined scopes for large assignment lints) - rust-lang#139575 (Remove redundant words) r? `@ghost` `@rustbot` modify labels: rollup
for making matching on specific diagnostic kinds non-exhaustive.
E.g.
//@ dont-require-annotations:ERROR, like in the examples in this PR.cc #139427 (comment)
Closes #132647 FYI @BoxyUwU since you've wanted this.
r? @jieyouxu