Skip to content

small refactor to new projection code#107348

Merged
bors merged 2 commits intorust-lang:masterfrom
lcnr:project-solve-new
Feb 1, 2023
Merged

small refactor to new projection code#107348
bors merged 2 commits intorust-lang:masterfrom
lcnr:project-solve-new

Conversation

@lcnr
Copy link
Contributor

@lcnr lcnr commented Jan 27, 2023

extract eq_term_and_make_canonical_response into a helper function which also is another guarantee that the expected term does not influence candidate selection for projections.

also change evaluate_all(vec![single_goal]) to use evaluate_goal.

the second commit now also adds a debug_assert! to evaluate_goal.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.

5 participants