Skip to content

Conversation

@Marcondiro
Copy link
Contributor

Hello,

The crates unicode-ident and unicode-xid do the exact same job.
This PR replaces the few unicode-xid usages and converges over unicode-ident across the workspace.

Thanks!

unicode-ident and unicode-xid do the exact same job. Converge over unicode-ident across the workspace.
@rustbot rustbot added A-cli Area: Command-line interface, option parsing, etc. Command-add Command-install S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 22, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 22, 2025

r? @ehuss

rustbot has assigned @ehuss.
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

Copy link
Member

@weihanglo weihanglo left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks

@weihanglo weihanglo added this pull request to the merge queue Oct 22, 2025
Merged via the queue into rust-lang:master with commit 211aad4 Oct 22, 2025
27 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 22, 2025
@ehuss
Copy link
Contributor

ehuss commented Oct 23, 2025

I just wanted to note that this updates to Unicode 17, which is ahead of rustc and the language. I don't think it matters, but it might be something to be aware of.

@weihanglo
Copy link
Member

Thanks for that! Yeah, the reissued version for Unicode 17.0 is mostly around recommend scripts, which we don't use.

https://www.unicode.org/reports/tr31/tr31-43.html#Modifications

Revision 43

@Marcondiro
Copy link
Contributor Author

Marcondiro commented Oct 23, 2025

Hello @ehuss,
Not really, the previous version of unicode-ident 1.0.19 was already using Unicode 17 data

@ehuss
Copy link
Contributor

ehuss commented Oct 23, 2025

I meant that unicode-xid 0.2.6 is Unicode 16, and that is what is used in the compiler for the lexer.

@Marcondiro
Copy link
Contributor Author

I see, you are right. Thanks for clarifying!

bors added a commit to rust-lang/rust that referenced this pull request Oct 29, 2025
Update cargo submodule

11 commits in 344c4567c634a25837e3c3476aac08af84cf9203..6c1b6100343691341b9e76c5acc594e78220f963
2025-10-15 15:01:32 +0000 to 2025-10-28 16:27:52 +0000
- feat(build-analysis): JSONL-based logging infra (rust-lang/cargo#16150)
- feat: support array of any types in Cargo config (rust-lang/cargo#16103)
- test(git): add more fetch-index backend interop  (rust-lang/cargo#16162)
- feat(git): support shallow fetch for Git CLI backend (rust-lang/cargo#16156)
- Fix mdman to not incorrectly strip `<p>` tags (rust-lang/cargo#16158)
- chore(triagebot): enable range-diff and review-changes-since (rust-lang/cargo#16152)
- Avoid specifying which version will change behavior (rust-lang/cargo#16153)
- Make shell completion variables private. (rust-lang/cargo#16144)
- More warning conversions (rust-lang/cargo#16143)
- Bump openssl-src to 300.3.5.4+3.5.4 (rust-lang/cargo#16140)
- build: remove duplicate dependency, consolidate over unicode-ident (rust-lang/cargo#16137)
@rustbot rustbot added this to the 1.93.0 milestone Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area: Command-line interface, option parsing, etc. Command-add Command-install

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants