Skip to content

Conversation

@compiler-errors
Copy link
Member

We were ICEing too eagerly during selection for dyn* goals -- both for dyn unsizing candidates and for built-in object candidates. The former should only be performed on dyn objects, but the latter are totally fine.

@rustbot
Copy link
Collaborator

rustbot commented Jul 6, 2023

r? @oli-obk

(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 Jul 6, 2023
@rustbot
Copy link
Collaborator

rustbot commented Jul 6, 2023

Some changes occurred to the core trait solver

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

@oli-obk
Copy link
Contributor

oli-obk commented Jul 6, 2023

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

📌 Commit cd26d10 has been approved by oli-obk

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 Jul 6, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 6, 2023
…iaskrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#112295 (Fix the tests-listing-format-json test on Windows)
 - rust-lang#113246 (fix compiletest crash)
 - rust-lang#113395 (Dont ICE for `dyn* Trait: Trait` (built-in object) goals during selection in new trait solver)
 - rust-lang#113402 (Diagnose unsorted CGUs.)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 72e0e17 into rust-lang:master Jul 6, 2023
@rustbot rustbot added this to the 1.72.0 milestone Jul 6, 2023
@compiler-errors compiler-errors deleted the new-solver-dyn-star-selection branch August 11, 2023 20:08
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.

4 participants