Skip to content

test and document that proc_macro::Ident is NFC-normalized#150431

Merged
bors merged 1 commit intorust-lang:mainfrom
cyrgani:nfc-proc-macro-test
Jan 2, 2026
Merged

test and document that proc_macro::Ident is NFC-normalized#150431
bors merged 1 commit intorust-lang:mainfrom
cyrgani:nfc-proc-macro-test

Conversation

@cyrgani
Copy link
Copy Markdown
Contributor

@cyrgani cyrgani commented Dec 27, 2025

Previously, this was not tested at all and the test suite would pass even when replacing the normalize_and_validate_ident implementation with a panic!.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 27, 2025
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Dec 27, 2025

r? @nnethercote

rustbot has assigned @nnethercote.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@nnethercote
Copy link
Copy Markdown
Contributor

@bors r+

@bors
Copy link
Copy Markdown
Collaborator

bors commented Jan 1, 2026

📌 Commit 8fc2aca has been approved by nnethercote

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 1, 2026
bors added a commit that referenced this pull request Jan 1, 2026
…uwer

Rollup of 4 pull requests

Successful merges:

 - #150382 (Tweak wording of diff marker diagnostic)
 - #150431 (test and document that `proc_macro::Ident` is NFC-normalized)
 - #150504 (Add regression test for issue #99173)
 - #150568 (Update triagebot config for `compiler-errors`, `tests/{run-make,run-make-cargo}` and `fallback` adhoc_group)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 745368c into rust-lang:main Jan 2, 2026
11 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Jan 2, 2026
rust-timer added a commit that referenced this pull request Jan 2, 2026
Rollup merge of #150431 - cyrgani:nfc-proc-macro-test, r=nnethercote

test and document that `proc_macro::Ident` is NFC-normalized

Previously, this was not tested at all and the test suite would pass even when replacing the `normalize_and_validate_ident` implementation with a `panic!`.
@cyrgani cyrgani deleted the nfc-proc-macro-test branch January 2, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants