-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Revert "Add a proper with_no_queries
to printing"
#121981
Conversation
This reverts commit 6fb4ac6. Reverts rust-lang#121927 Fixes rust-lang#121974
let description = if tcx.sess.verbose_internals() { | ||
format!("{description} [{name:?}]") | ||
} else { | ||
description | ||
}; | ||
let span = if kind == dep_graph::dep_kinds::def_span { | ||
let span = if kind == dep_graph::dep_kinds::def_span || with_no_queries() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would bringing only these last 2 changes back as with_reduced_queries()
fix the issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened #121993 for that. It fixes OOM for the test case we have.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, thanks!
…compiler-errors Avoid using unnecessary queries when printing the query stack in panics This should fix rust-lang#121974. Alternative to rust-lang#121981.
…compiler-errors Avoid using unnecessary queries when printing the query stack in panics This should fix rust-lang#121974. Alternative to rust-lang#121981.
…compiler-errors Avoid using unnecessary queries when printing the query stack in panics This should fix rust-lang#121974. Alternative to rust-lang#121981.
Rollup merge of rust-lang#121993 - Zoxc:query-stack-panic-queries, r=compiler-errors Avoid using unnecessary queries when printing the query stack in panics This should fix rust-lang#121974. Alternative to rust-lang#121981.
This reverts commit 6fb4ac6.
Reverts #121927
Fixes #121974
r? @oli-obk
cc @Zoxc