Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ICEs should print the top of the query stack #76920
ICEs should print the top of the query stack #76920
Changes from 3 commits
5fd6301
132c9ef
767e84a
339181a
51c32f4
d8af4b3
cdd3126
e29e150
3621afe
4e88307
58cf7c4
8528f40
1582733
8983d5b
a1ef12b
3be44f9
56d6be3
e837539
51d2e7e
8bfeaef
d61d859
f4b7a5e
bf73a64
665bd46
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 think this shouldn't be shown when only showing some frames.
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.
ok I will fix, thanks
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.
@bjorn3 sorry can you explain that which part I should change?
I think it is correct, because RUST_BACKTRACE is 0 here, so then we will show
we're just showing a limited slice of the query stack
messageThere 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.
What they are suggesting is to remove the
end of query stack
message. Maybe either printend of query stack
orquery stack printing limited, use RUST_BACKTRACE=1 to see more
depending on whether we're limiting or not? So instead of printingwe're just showing a limited...
before the stack, we show that after the stack at the cutoff point where it normally saysend of query stack
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.
aa ok gotcha, thanks
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.
Please filter this out with more filter instructions in the corresponding
.rs
file, the same with all the other proc macros.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.
sorry I did not understand that what should I do
can you please explain more?
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.
Did it not disappear after switching the condition?
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.
In case it's still there after the change, what I meant was to add more of the regexes like
rust/src/test/ui/proc-macro/invalid-punct-ident-1.rs
Lines 5 to 11 in 767e84a
Basically I think you can add
and these lines should disappear
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.
ok got it, thanks, I will fix now