Skip to content

Trivia in tokens - #23276

Draft
bit-aloo wants to merge 4 commits into
rust-lang:masterfrom
bit-aloo:2026-08-29-trivia-in-tokens
Draft

Trivia in tokens#23276
bit-aloo wants to merge 4 commits into
rust-lang:masterfrom
bit-aloo:2026-08-29-trivia-in-tokens

Conversation

@bit-aloo

@bit-aloo bit-aloo commented Sep 1, 2026

Copy link
Copy Markdown
Member

TODO

@ChayimFriedman2

Copy link
Copy Markdown
Contributor

+18,204 -23,157

😢

Isn't there a way to make this smaller? Some ideas:

  • Do not print [] [] for empty leading+trailing trivia.
  • Print leading/trailing trivia like before temporarily.

@rustbot

rustbot commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (possibly #23218) made this pull request unmergeable. Please resolve the merge conflicts.

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.

3 participants