-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few cleanups #98795
A few cleanups #98795
Conversation
r? @fee1-dead (rust-highfive has picked a reviewer for you, use r? to override) |
7a16833
to
4589d93
Compare
@@ -503,7 +503,7 @@ impl<'cx, 'tcx> UniversalRegionsBuilder<'cx, 'tcx> { | |||
|
|||
let root_empty = self | |||
.infcx | |||
.next_nll_region_var(NllRegionVariableOrigin::RootEmptyRegion) | |||
.next_nll_region_var(NllRegionVariableOrigin::Existential { from_forall: true }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not familiar with nll code and I can't say for sure if they would result in the same logic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went through all the uses of RootEmptyRegion
and the were in the same branch as Existential { from_forall: true }
r? compiler |
4589d93
to
2aa8ee8
Compare
☔ The latest upstream changes (presumably #98584) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r+ |
📌 Commit 2aa8ee81ff75c4581b09cb64340b9378ae999e6c has been approved by It is now in the queue for this repository. |
@bors r- Need to rebase |
whoops, didn't see bors's comment. |
…esolve_region, and remove RootEmptyRegion
2aa8ee8
to
31e1a77
Compare
@bors r=compiler-errors |
…anup, r=compiler-errors A few cleanups Each commit is (mostly) self-explanatory. These changes have come as I try to remove `ReEmpty` (rust-lang#98559).
…anup, r=compiler-errors A few cleanups Each commit is (mostly) self-explanatory. These changes have come as I try to remove `ReEmpty` (rust-lang#98559).
…askrgr Rollup of 6 pull requests Successful merges: - rust-lang#95635 (sess: stabilize `--terminal-width` as `--diagnostic-width`) - rust-lang#98718 (Stabilize `into_future`) - rust-lang#98795 (A few cleanups) - rust-lang#98798 (Fix caching bug in `download-rustc = true`) - rust-lang#99019 (Add doc comments in `rustc_middle::mir`) - rust-lang#99026 (Add test for and fix rust-lang/rust-clippy#9131) Failed merges: - rust-lang#98957 ( don't allow ZST in ScalarInt ) r? `@ghost` `@rustbot` modify labels: rollup
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Each commit is (mostly) self-explanatory. These changes have come as I try to remove
ReEmpty
(#98559).