You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@3442853561: The nightly version of rustc supports non-ASCII identifiers such as 一个数字, with the feature flag non_ascii_idents (example). However, rust-lang/rust#28979 would seem to imply that there are some bugs in rustc's support for non-ASCII identifiers.
As discussed in rust-lang/rust#28979, this requires a feature flag not because it’s particularly buggy but because we need to decide exactly what sequences of Unicode code points should be identifiers or not. 一个数字 obviously should, but Unicode is full of less obvious cases.
@3442853561 I suggest closing this issue to keep the discussion in one place until a proper RFC is written. You can comment on rust-lang/rust#28979 to express interest there, or just click the "Subscribe" button to just be notified of new messages.
What about named identifiers in local language?
Example
In this program
一个数字
is a identifier. It can help the Asians, like me, understand the progarm easyer.The text was updated successfully, but these errors were encountered: