about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/concat_bytes.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-11 04:54:59 +0000
committerbors <bors@rust-lang.org>2022-11-11 04:54:59 +0000
commitb7b7f2716ee1655a696d3d64c3e12638d0dd19c0 (patch)
treea90e272626aff80a1944b55da920c24f5c2e9de7 /compiler/rustc_builtin_macros/src/concat_bytes.rs
parent5b82ea74b705799665b5a676b162f30d26f5108c (diff)
parentebfa2ab68e806ce4eecb09525b82724a064c1de3 (diff)
downloadrust-b7b7f2716ee1655a696d3d64c3e12638d0dd19c0.tar.gz
rust-b7b7f2716ee1655a696d3d64c3e12638d0dd19c0.zip
Auto merge of #103898 - Nilstrieb:match-macro, r=nnethercote
Retry failed macro matching for diagnostics

When a declarative macro fails to match, retry the matching to collect diagnostic info instead of collecting it on the fly in the hot path. Split out of #103439.

You made a bunch of changes to declarative macro matching, so
r? `@nnethercote`

This change should produce a few small perf wins: https://github.com/rust-lang/rust/pull/103439#issuecomment-1294249602
Diffstat (limited to 'compiler/rustc_builtin_macros/src/concat_bytes.rs')
0 files changed, 0 insertions, 0 deletions