don't completely reset HeadUsages by lcnr · Pull Request #148649 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation2 Commits1 Checks11 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

@lcnr

This is really subtle ☠️ I've actually went and added testing for search_graph.ignore_candidate_head_usages to https://github.com/lcnr/search_graph_fuzz now. I should have done that when I originally implemented but didn't quite know how to do so back then.

The search graph is far too subtle to think through it manually. I've added the affected proof tree to https://github.com/rust-lang/trait-system-refactor-initiative/blob/main/notes/next-solver/search-graph/general.md#keeping-provisional-cache-entries-on-rerun. It's

Fixes the ICE in rust-lang/trait-system-refactor-initiative#246 (comment). I think this issue is brittle enough that adding that as a test isn't really useful. Any small change to the search graph will prevent it from testing this. We do test this fix via the fuzzer.

r? @BoxyUwU

@lcnr

@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.

labels

Nov 7, 2025

@BoxyUwU

@bors

📌 Commit c07f11a has been approved by 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

Nov 7, 2025

jhpratt added a commit to jhpratt/rust that referenced this pull request

Nov 8, 2025

@jhpratt

bors added a commit that referenced this pull request

Nov 8, 2025

@bors

Rollup of 15 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

jhpratt added a commit to jhpratt/rust that referenced this pull request

Nov 8, 2025

@jhpratt

bors added a commit that referenced this pull request

Nov 8, 2025

@bors

Rollup of 16 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Nov 8, 2025

@matthiaskrgr

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Nov 8, 2025

@matthiaskrgr

bors added a commit that referenced this pull request

Nov 9, 2025

@bors

Rollup of 22 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit that referenced this pull request

Nov 9, 2025

@rust-timer

github-actions bot pushed a commit to rust-lang/stdarch that referenced this pull request

Nov 10, 2025

@bors

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request

Nov 10, 2025

@bors

makai410 pushed a commit to makai410/rustc_public that referenced this pull request

Nov 10, 2025

@bors

makai410 pushed a commit to makai410/rust that referenced this pull request

Nov 10, 2025

@Zalathar

makai410 pushed a commit to makai410/rust that referenced this pull request

Nov 10, 2025

@bors

makai410 pushed a commit to makai410/rustc_public that referenced this pull request

Nov 16, 2025

@bors

github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request

Nov 30, 2025

@bors

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.