Skip to content

Freshen normalizes-to hack goal RHS in the evaluate loop #109679

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

compiler-errors
Copy link
Member

@compiler-errors compiler-errors commented Mar 27, 2023

Ensure that we repeatedly equate the unconstrained RHS of the normalizes-to hack goal with the actual RHS of the goal, even if the normalizes-to goal loops several times and thus we replace the unconstrained RHS var repeatedly.

Alternative to #109583.

@rustbot
Copy link
Collaborator

rustbot commented Mar 27, 2023

r? @davidtwco

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Mar 27, 2023
@rustbot
Copy link
Collaborator

rustbot commented Mar 27, 2023

Some changes occurred to the core trait solver

cc @rust-lang/initiative-trait-system-refactor

@compiler-errors
Copy link
Member Author

r? @lcnr cc @BoxyUwU

@rustbot rustbot assigned lcnr and unassigned davidtwco Mar 27, 2023
Copy link
Contributor

@lcnr lcnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me though it would be good for @BoxyUwU to also take a look here

@BoxyUwU
Copy link
Member

BoxyUwU commented Mar 30, 2023

@bors r=lcnr,BoxyUwU rollup

@bors
Copy link
Collaborator

bors commented Mar 30, 2023

📌 Commit 0542b0d has been approved by lcnr,BoxyUwU

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 30, 2023
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Mar 30, 2023
…-2, r=lcnr,BoxyUwU

Freshen normalizes-to hack goal RHS in the evaluate loop

Ensure that we repeatedly equate the unconstrained RHS of the normalizes-to hack goal with the *actual* RHS of the goal, even if the normalizes-to goal loops several times and thus we replace the unconstrained RHS var repeatedly.

Alternative to rust-lang#109583.
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 30, 2023
…mpiler-errors

Rollup of 6 pull requests

Successful merges:

 - rust-lang#109347 (Skip no_mangle if the item has no name.)
 - rust-lang#109522 (Implement current_dll_path for AIX)
 - rust-lang#109679 (Freshen normalizes-to hack goal RHS in the evaluate loop)
 - rust-lang#109704 (resolve: Minor improvements to effective visibilities)
 - rust-lang#109739 (Closures always implement `FnOnce` in new solver)
 - rust-lang#109758 (Parallel compiler cleanups)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 1ffb1af into rust-lang:master Mar 31, 2023
@rustbot rustbot added this to the 1.70.0 milestone Mar 31, 2023
@compiler-errors compiler-errors deleted the normalizes-to-hack-2 branch August 11, 2023 20:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants