Uh oh!
There was an error while loading. Please reload this page.
Add a couple polonius tests and move universal region liveness generation - #161776
Merged
Conversation
jackh726
commented
Aug 25, 2026
MemberAuthor
Disclosure: An LLM was used to generate these test cases; comments there are mine. |
jackh726
commented
Aug 26, 2026
Uh oh!
There was an error while loading. Please reload this page.
rust-cloud-vmsBotforce-pushed
the
polonius-cleanups
branch
from
August 28, 2026 02:23
891c4e4 to
fb7e8feComparelqd
commented
Aug 31, 2026
Member
@bors r+ rollup |
Contributor
Zalathar added a commit
to Zalathar/rust
that referenced
this pull request
Aug 31, 2026
Add a couple polonius tests and move universal region liveness generation Adds a couple tests that confirm the use/drop-liveness of NLL-boring locals. Also, move universal region liveness to liveness::generate instead of `RegionInferenceContext::new`, to keep all liveness generation in one place. r? lqd
rust-borsBot
pushed a commit
that referenced
this pull request
Aug 31, 2026
Rollup of 5 pull requests Successful merges: - #161556 (document some rustc_dump attributes) - #161353 (Add test for parallel compiler reproducible build) - #161776 (Add a couple polonius tests and move universal region liveness generation) - #162002 (Output `tests/debuginfo` raw JSON data on failure in CI) - #162049 (Fix a compile error on the ESP-IDF target)
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 31, 2026
Add a couple polonius tests and move universal region liveness generation Adds a couple tests that confirm the use/drop-liveness of NLL-boring locals. Also, move universal region liveness to liveness::generate instead of `RegionInferenceContext::new`, to keep all liveness generation in one place. r? lqd
This was referenced Aug 31, 2026
rust-borsBot
pushed a commit
that referenced
this pull request
Aug 31, 2026
…uwer Rollup of 6 pull requests Successful merges: - #162058 (Port 1.98.1 release notes into main) - #161556 (document some rustc_dump attributes) - #161776 (Add a couple polonius tests and move universal region liveness generation) - #162002 (Output `tests/debuginfo` raw JSON data on failure in CI) - #162049 (Fix a compile error on the ESP-IDF target) - #162054 (Refine InferCtxtInner docs)
rust-borsBot
pushed a commit
that referenced
this pull request
Aug 31, 2026
…uwer Rollup of 6 pull requests Successful merges: - #162058 (Port 1.98.1 release notes into main) - #161556 (document some rustc_dump attributes) - #161776 (Add a couple polonius tests and move universal region liveness generation) - #162002 (Output `tests/debuginfo` raw JSON data on failure in CI) - #162049 (Fix a compile error on the ESP-IDF target) - #162054 (Refine InferCtxtInner docs)
rust-borsBot
pushed a commit
that referenced
this pull request
Aug 31, 2026
…uwer Rollup of 6 pull requests Successful merges: - #162058 (Port 1.98.1 release notes into main) - #161556 (document some rustc_dump attributes) - #161776 (Add a couple polonius tests and move universal region liveness generation) - #162002 (Output `tests/debuginfo` raw JSON data on failure in CI) - #162049 (Fix a compile error on the ESP-IDF target) - #162054 (Refine InferCtxtInner docs)
Uh oh!
There was an error while loading. Please reload this page.
rust-borsBot
pushed a commit
that referenced
this pull request
Aug 31, 2026
Rollup merge of #161776 - jackh726:polonius-cleanups, r=lqd Add a couple polonius tests and move universal region liveness generation Adds a couple tests that confirm the use/drop-liveness of NLL-boring locals. Also, move universal region liveness to liveness::generate instead of `RegionInferenceContext::new`, to keep all liveness generation in one place. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 31, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 31, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
GuillaumeGomez added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Aug 31, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 31, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
jhpratt added a commit
to jhpratt/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
jhpratt added a commit
to jhpratt/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Sep 1, 2026
A series of Polonius Alpha refactors Based on rust-lang#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
pullBot
pushed a commit
to LeeeeeeM/miri
that referenced
this pull request
Sep 2, 2026
A series of Polonius Alpha refactors Based on rust-lang/rust#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
asukaminato0721 pushed a commit
to asukaminato0721/rust-analyzer
that referenced
this pull request
Sep 2, 2026
A series of Polonius Alpha refactors Based on rust-lang/rust#161776 Best reviewed by commit. This is a series of refactors to enable lazy liveness calculation. Each commit is relatively targeted. r? lqd
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 freeto 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.
Adds a couple tests that confirm the use/drop-liveness of NLL-boring locals. Also, move universal region liveness to liveness::generate instead of
RegionInferenceContext::new, to keep all liveness generation in one place.r? lqd