Are identifiers still Unicode 17?

That’s what the reference says, while std::char::UNICODE_VERSION == (18, 0, 0).

Let's see.. some relevant context on this seem to be the PR that updated it

well, by the milestone tag, looks like it's stable now with 1.100 :slight_smile:

Then let's look at the reference repo. There, I can find two PRs that appear to be of interest.

First and foremost

which updates the reference about identifiers. This one comes with a link to a relevant rustc PR

that actually updates the compiler implementation of identifiers. This one's merged, but only on nightly so far (and I assume people will make sure to get the reference update merged some time soon, too, to ensure it goes into the same stable release - 1.102 - eventually.

And then there’s this PR

and the PR description message in this one sounds like this decoupling[1] might possibly disappear at some point in the future.


  1. that std got Unicode 18 in 1.100, but identifiers follow later, in this case 1.102 ↩︎

1 Like