about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-05-17 13:51:24 -0600
committerGitHub <noreply@github.com>2018-05-17 13:51:24 -0600
commit77a4296b0713b321b7c486b5e013c5dbd71803eb (patch)
treea9281d24ee52af623bee14e16b04a95dcf909dbe /src/rustllvm/RustWrapper.cpp
parente1848df1811863aab4d7f27041fc249b2e43d2f7 (diff)
parentce0b7cc529b2bba4207bcc2d93af4c7bb3640e64 (diff)
downloadrust-77a4296b0713b321b7c486b5e013c5dbd71803eb.tar.gz
rust-77a4296b0713b321b7c486b5e013c5dbd71803eb.zip
Rollup merge of #50790 - bstrie:grammar, r=steveklabnik
Fix grammar documentation wrt Unicode identifiers

The grammar defines identifiers in terms of XID_start and XID_continue,
but this is referring to the unstable non_ascii_idents feature.
The documentation implies that non_ascii_idents is forthcoming, but this
is left over from pre-1.0 documentation; in reality, non_ascii_idents
has been without even an RFC for several years now, and will not be
stabilized anytime soon. Furthermore, according to the tracking issue at
https://github.com/rust-lang/rust/issues/28979 , it's highly
questionable whether or not this feature will use XID_start or
XID_continue even when or if non_ascii_idents is stabilized.
This commit fixes this by respecifying identifiers as the usual
[a-zA-Z_][a-zA-Z0-9_]*
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions