Skip to content

fix(ci): generate macro in a way that works with nightly rustfmt - #1070

Merged
tninesling merged 2 commits into
mainfrom
tninesling/fix-syntaxkind-generator
Jul 27, 2026
Merged

tninesling merged 2 commits into
mainfrom
tninesling/fix-syntaxkind-generator

Conversation

@tninesling

Copy link
Copy Markdown
Contributor

This should be a temporary patch, which can be reverted later. Our macro codegen for syntax nodes produces a macro with macro_rules !, but the nightly formatter panics when it finds the extra space. It is valid Rust syntax, so we should be able to undo this change once that panic is patched in the compiler.

@tninesling
tninesling requested a review from a team as a code owner July 27, 2026 15:04
@tninesling
tninesling merged commit cdac8d5 into main Jul 27, 2026
11 checks passed
@tninesling
tninesling deleted the tninesling/fix-syntaxkind-generator branch July 27, 2026 15:16
tninesling added a commit that referenced this pull request Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants