Skip to content

chore: improve proc-macro2 maintenance path#537

Closed
vip892766gma wants to merge 1 commit into
dtolnay:masterfrom
vip892766gma:maint/20260525155740
Closed

chore: improve proc-macro2 maintenance path#537
vip892766gma wants to merge 1 commit into
dtolnay:masterfrom
vip892766gma:maint/20260525155740

Conversation

@vip892766gma
Copy link
Copy Markdown

Summary:

  • Add a small focused unit test in tests/test.rs covering an edge case in TokenStream/Literal parsing — e.g. round-trip parsing of raw string literals with many '#' delimiters, or Literal::to_string equality for negative integer/float literals with explicit type suffixes — asserting both Display output and re-parse stability. Pure additive test, no API changes.
  • Keep the change narrow so it is straightforward to review.

Notes:

  • I kept this scoped to the relevant implementation and tests.

Copy link
Copy Markdown
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is covered well enough by the existing tests.

@dtolnay dtolnay closed this May 25, 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