-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Deduplicate lines in long const-eval stack trace #92802
Conversation
r? @oli-obk (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
4def9d8
to
73ad8df
Compare
It's not overkill. We already have two huge tests in our test suite showing this, albeit with mutual recursion. Not sure how we could catch mutual recursion properly... ideas? |
What are the tests that show a mutually-recursive trace? I could probably think of something more clever than this to detect those cases. Maybe some sort of windowed duplicate detection. |
I'll get around to this eventually... finding out how to print a nice output for repeating set of lines (N>1) is kinda hard. I have some ideas, but kinda lazy to write em out. @rustbot author |
@bors r+ rollup Until then, this is already a good improvement |
📌 Commit 73ad8df has been approved by |
…race, r=oli-obk Deduplicate lines in long const-eval stack trace Lemme know if this is kinda overkill, lol. Fixes rust-lang#92796
Rollup of 7 pull requests Successful merges: - rust-lang#92310 (rustdoc: Fix ICE report) - rust-lang#92802 (Deduplicate lines in long const-eval stack trace) - rust-lang#93515 (Factor convenience functions out of main printer implementation) - rust-lang#93566 (Make rustc use `RUST_BACKTRACE=full` by default) - rust-lang#93589 (Use Option::then in two places) - rust-lang#93600 (fix: Remove extra newlines from junit output) - rust-lang#93606 (Correct incorrect description of preorder traversals) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Lemme know if this is kinda overkill, lol.
Fixes #92796