Uh oh!
There was an error while loading. Please reload this page.
macro_rules: Remove NtIdent nonterminal token - #119412
Conversation
rustbot
commented
Dec 29, 2023
(rustbot has picked a reviewer for you, use r? to override) |
compiler-errors
commented
Dec 29, 2023
unassigning myself for now since you said it's a WIP, feel free to reassign when there's stuff to review |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
rustbot
commented
Jan 1, 2024
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
This comment has been minimized.
This comment has been minimized.
rustbot
commented
Jan 1, 2024
The Miri subtree was changed cc @rust-lang/miri |
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
…rrors rustc_span: More consistent span combination operations Also add more tests for using `tt` in addition to `ident`, and some other minor tweaks, see individual commits. This is a part of rust-lang#119412 that doesn't yet add side tables for metavariable spans.
Rollup merge of rust-lang#119624 - petrochenkov:dialoc4, r=compiler-errors rustc_span: More consistent span combination operations Also add more tests for using `tt` in addition to `ident`, and some other minor tweaks, see individual commits. This is a part of rust-lang#119412 that doesn't yet add side tables for metavariable spans.
This comment was marked as resolved.
This comment was marked as resolved.
petrochenkov
commented
Jun 29, 2024
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
bors
commented
Jun 29, 2024
macro_rules: Remove `NtIdent` nonterminal token It only exists for keeping the second span (the metavariable span), but after rust-lang#119673 such spans can be kept using a more general mechanism.
bors
commented
Jun 29, 2024
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Jun 29, 2024
Finished benchmarking commit (1243fc5): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)Results (primary 10.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary 22.9%, secondary -2.9%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResults (primary -0.2%, secondary -0.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 698.422s -> 697.818s (-0.09%) |
petrochenkov
commented
Jun 29, 2024
So the |
petrochenkov
commented
Jul 1, 2024
I don't understand the The regression only reproduces in the I'm not sure what to do about this, none of the other crates invalidates this much after adding a println. @cjgillot maybe you have some idea what can cause so much recompilation (and how to determine the root cause)? |
petrochenkov
commented
Jul 1, 2024
The dependency tracking story for the metavar span table is not clear to me in general. |
Besides the issue with incremental invalidation in I migrated some of the clippy lints to the post-#119673 scheme, but not all of them, I can make an issue for that after this is merged. |
cjgillot
commented
Jul 3, 2024
@petrochenkov I tried to look at the logs from The main thing that puzzles me is that we appear to have recompilations due to more HIR changing. I suppose that's due to some spans missing their |
alex-semenyuk
commented
Oct 2, 2024
@petrochenkov |
compiler-errors
commented
Oct 2, 2024
Ah -- this has been |
petrochenkov
commented
Oct 3, 2024
It's still waiting on author. |
JohnCSimon
commented
Nov 29, 2024
Triage: okay this is still waiting on author. |
I guess I'll have time once I'm retired. |
It only exists for keeping the second span (the metavariable span), but after #119673 such spans can be kept using a more general mechanism.
So after this PR spans from
identvariables are treated as spans fromttvariables.To avoid regressions, it required migrating some diagnostics in the compiler to the new scheme used to account for
ttvariables.This PR should also unblock removal of the
uninterpolatestuff from the parser.Continuation of #119673.