rust/compiler/rustc_middle
Yuki Okushi 038ece0a42
Rollup merge of #109956 - compiler-errors:tweak-debug-outputs, r=oli-obk
Tweak debug outputs to make debugging new solver easier

1. Move the fields that are "most important" (I know this is subjective) to the beginning of the structs.

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

2. Add some more debug and instrument calls to functions to add more structure to tracing lines.

r? `@oli-obk` or `@BoxyUwU` (since I think `@lcnr` is on holiday)
2023-04-05 20:47:24 +09:00
..
src Rollup merge of #109956 - compiler-errors:tweak-debug-outputs, r=oli-obk 2023-04-05 20:47:24 +09:00
Cargo.toml Update indexmap and rayon crates 2023-03-25 02:12:13 +01:00
messages.ftl fix(middle): emit error rather than delay bug when reaching limit 2023-04-03 11:08:14 +08:00
README.md

For more information about how rustc works, see the rustc dev guide.