about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-reference.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-25 12:54:36 +0200
committerGitHub <noreply@github.com>2024-05-25 12:54:36 +0200
commit00c51bda3f02275f9d3a7747f82d45ab5af63e7b (patch)
tree8691f903ab00fa6c5db54ee7b10afbc9d379329f /tests/rustdoc-js-std/parser-reference.js
parent4d13c96c65fda8f7bc57d69af64978eb669b5898 (diff)
parentebd9f355e2b34e36bd5b326c24a5c0eb0b40a371 (diff)
downloadrust-00c51bda3f02275f9d3a7747f82d45ab5af63e7b.tar.gz
rust-00c51bda3f02275f9d3a7747f82d45ab5af63e7b.zip
Rollup merge of #125510 - lcnr:change-proof-trees-to-be-shallow, r=compiler-errors
remove proof tree formatting, make em shallow

Debugging via tracing `RUSTC_LOG=rustc_trait_selection::solve=debug` is now imo slightly more readable then the actual proof tree formatter. Removing everything that's not needed for the `analyse` visitor allows us to remove a bunch of code.

I personally believe that we should continue to use tracing over proof trees for debugging:
- it eagerly prints, allowing us to debug ICEs
- the proof tree builder ends up going out of sync with the actual runtime behavior, which is confusing
- using shallow proof trees is a lot more performant as we frequently do not recurse into all nested goals when using an analyse visitor
- this allows us to clean up the implementation and remove some code

r? ```@compiler-errors```
Diffstat (limited to 'tests/rustdoc-js-std/parser-reference.js')
0 files changed, 0 insertions, 0 deletions