coverage: Tidy tests and add some new ones - #161397
Open
Zalathar wants to merge 3 commits into
Open
Conversation
Collaborator
|
r? @fee1-dead rustbot has assigned @fee1-dead. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
Zalathar
force-pushed
the
tests-coverage
branch
from
August 20, 2026 13:43
7b8a6b8 to
102a44c
Compare
Member
Author
|
Looks like one of the new tests was affected by #151419, so I added a directive to skip it on older LLVM. |
Zalathar
force-pushed
the
tests-coverage
branch
from
August 22, 2026 11:57
102a44c to
8552cf7
Compare
This comment has been minimized.
This comment has been minimized.
Zalathar
force-pushed
the
tests-coverage
branch
from
August 22, 2026 11:58
8552cf7 to
5dc830e
Compare
This comment has been minimized.
This comment has been minimized.
Zalathar
force-pushed
the
tests-coverage
branch
from
August 25, 2026 03:49
5dc830e to
f359290
Compare
This comment has been minimized.
This comment has been minimized.
Member
|
Not very familiar with coverage tests :) @rustbot reroll |
Zalathar
force-pushed
the
tests-coverage
branch
from
August 26, 2026 04:55
f359290 to
339a012
Compare
This comment has been minimized.
This comment has been minimized.
Zalathar
force-pushed
the
tests-coverage
branch
from
August 31, 2026 01:12
339a012 to
27ff260
Compare
This comment has been minimized.
This comment has been minimized.
Zalathar
force-pushed
the
tests-coverage
branch
from
September 2, 2026 02:56
27ff260 to
4f62f6f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Zalathar
force-pushed
the
tests-coverage
branch
2 times, most recently
from
September 3, 2026 05:55
e29b935 to
46a5610
Compare
This comment has been minimized.
This comment has been minimized.
These tests are of limited value for investigating specific problems, but still have some worth in detecting regressions by adding variety to the test corpus. (The boundary is a bit fuzzy, but it's easy enough to move tests back out if appropriate.)
Zalathar
force-pushed
the
tests-coverage
branch
from
September 4, 2026 06:26
46a5610 to
492fff7
Compare
Collaborator
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Member
Author
Contributor
Zalathar
added a commit
to Zalathar/rust
that referenced
this pull request
Sep 5, 2026
coverage: Tidy tests and add some new ones While experimenting with some coverage changes, I noticed that some of our tests are not very useful for diagnosing problems, and that we lack good simple tests for some common Rust constructs.
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 5, 2026
coverage: Tidy tests and add some new ones While experimenting with some coverage changes, I noticed that some of our tests are not very useful for diagnosing problems, and that we lack good simple tests for some common Rust constructs.
Zalathar
added a commit
to Zalathar/rust
that referenced
this pull request
Sep 5, 2026
coverage: Tidy tests and add some new ones While experimenting with some coverage changes, I noticed that some of our tests are not very useful for diagnosing problems, and that we lack good simple tests for some common Rust constructs.
rust-bors Bot
pushed a commit
that referenced
this pull request
Sep 5, 2026
Rollup of 14 pull requests Successful merges: - #162324 (miri subtree update) - #162170 (bootstrap: use target's LLVM libdir when cross-compiling) - #158312 (Adds support for AArch64 SVE to inline assembly) - #159792 (A more readable debug map for IndexMaps) - #160745 (make closures act like MaybeDangling) - #161263 (break rustc_expand-rustc_middle dependency) - #161895 (std::sys::pal::sgx: fix mismatched alloc/free alignment) - #161940 (Promote `wasm32-wasip3` to a tier 2 target) - #161397 (coverage: Tidy tests and add some new ones) - #161616 (Report precondition violation for `<usize as SliceIndex>::get_unchecked` in const-eval) - #162248 (Add regression test for unsized const parameter default ICE) - #162250 (Fix hashing of span end columns in incremental compilation) - #162265 (cargotest: add lockfiles) - #162318 (bootstrap: Fix broken path for `./x doc compiler/rustc --open`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While experimenting with some coverage changes, I noticed that some of our tests are not very useful for diagnosing problems, and that we lack good simple tests for some common Rust constructs.