Tweak debug outputs to make debugging new solver easier#109956
Merged
bors merged 1 commit intorust-lang:masterfrom Apr 5, 2023
Merged
Tweak debug outputs to make debugging new solver easier#109956bors merged 1 commit intorust-lang:masterfrom
bors merged 1 commit intorust-lang:masterfrom
Conversation
Collaborator
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
Contributor
|
Yea, it's annoying that we have to print debug-logged structs in a single line. I wonder if we should start deriving Valuable and then teaching |
Contributor
|
@bors r+ rollup |
Collaborator
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Apr 5, 2023
Rollup of 6 pull requests Successful merges: - rust-lang#107236 (Add T-bootstrap label to tools) - rust-lang#109847 (Only create graphviz nodes for reachable MIR bb's) - rust-lang#109848 (submodule detection for proper fix on rust-lang#96188) - rust-lang#109932 (Source code scrollbar) - rust-lang#109952 (Move comment about python2 closer to the place it's used) - rust-lang#109956 (Tweak debug outputs to make debugging new solver easier) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For goals, I typically care more about the predicate than the param-env (which is significantly longer in debug output).
For canonicalized things, I typically care more about what is being canonicalized.
For a canonical response, I typically care about the response -- or at least, it's typically useful to put it first since it's short and affects the whether the solver recurses or not...
r? @oli-obk or @BoxyUwU (since I think @lcnr is on holiday)