about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2023-04-05 20:47:24 +0900
committerGitHub <noreply@github.com>2023-04-05 20:47:24 +0900
commit038ece0a428956c1173e925acd20efc9c34f04b3 (patch)
treec68ee4276968caca0de78a79926fa573b364da92 /compiler/rustc_codegen_gcc
parent616dde1d4e6aa540a28e961608ba8277e8f53b49 (diff)
parent786fc90855a368a90cdbad3163a2993efd793da4 (diff)
downloadrust-038ece0a428956c1173e925acd20efc9c34f04b3.tar.gz
rust-038ece0a428956c1173e925acd20efc9c34f04b3.zip
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)
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions