Skip to content
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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canonicalize in inspect, work towards intercrate_ambiguity_causes support #114810

Closed
wants to merge 8 commits into from

Conversation

lcnr
Copy link
Contributor

@lcnr lcnr commented Aug 14, 2023

we can now do stuff with the state of nested goals as it does not contain anything local to the inference context inside of the query: https://hackmd.io/57Viy5smRNykmMVB6O76EA.

To actually add intercrate_ambiguity_causes support I need to figure out an API to traverse proof trees. Doing so manually for each analysis will be annoying. Still unsure what's the best approach here and have to think more about this.

The last commit is the layout of how intercrate_ambiguity_causes can be supported, still have to implement the actual computation of them though

r? @compiler-errors

@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 labels Aug 14, 2023
@rust-log-analyzer

This comment has been minimized.

Copy link
Contributor Author

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

this code needs a lot of comments

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Aug 15, 2023

☔ The latest upstream changes (presumably #114023) made this pull request unmergeable. Please resolve the merge conflicts.

add `TraitCandidate` variant using `CandidateSource`
@compiler-errors
Copy link
Member

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 20, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 14, 2023
some inspect improvements

split from rust-lang#114810 because I still want to experiment a bunch with that PR and these changes are self-contained.

r? `@compiler-errors`
@lcnr lcnr closed this Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants