Skip to content

Remove impl DebugWithContext for BorrowckDomain - #161269

Open
nnethercote wants to merge 1 commit into
rust-lang:mainfrom
nnethercote:rm-impl-DebugWithContext-for-BorrowckDomain
Open

Remove impl DebugWithContext for BorrowckDomain#161269
nnethercote wants to merge 1 commit into
rust-lang:mainfrom
nnethercote:rm-impl-DebugWithContext-for-BorrowckDomain

Conversation

@nnethercote

Copy link
Copy Markdown
Contributor

Only iterate_to_fixpoint requires Domain: DebugWithContext<Self>; visit_results does not. And Borrowck is an unusual analysis that never calls iterate_to_fixpoint; instead its results are composed from the results of the three sub-analyses.

r? @cjgillot

@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 Aug 18, 2026
@nnethercote

Copy link
Copy Markdown
Contributor Author

LLM disclosure: an LLM found this code was unused. I made all the code and text changes myself.

Only `iterate_to_fixpoint` requires `Domain: DebugWithContext<Self>`;
`visit_results` does not. And `Borrowck` is an unusual analysis that
never calls `iterate_to_fixpoint`; instead its results are composed from
the results of the three sub-analyses.
@nnethercote
nnethercote force-pushed the rm-impl-DebugWithContext-for-BorrowckDomain branch from 70707a7 to d51f4d0 Compare August 18, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants