diff options
| author | bors <bors@rust-lang.org> | 2015-04-25 17:06:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-25 17:06:48 +0000 |
| commit | 0d8309ec0b13ebad02bbc76f93eff39edf4af2d0 (patch) | |
| tree | c9c57c7b7b33d9fcb150af5d4299b51b1ec4a709 /src/doc/reference.md | |
| parent | 83263b48c39ef0e21cc9872191f4ce4877f4e05f (diff) | |
| parent | 3e67b6bb6c5383674f58a637f93d6740bca6a7d7 (diff) | |
| download | rust-0d8309ec0b13ebad02bbc76f93eff39edf4af2d0.tar.gz rust-0d8309ec0b13ebad02bbc76f93eff39edf4af2d0.zip | |
Auto merge of #24813 - Manishearth:rollup, r=Manishearth
- Successful merges: #24649, #24806, #24809, #24811 - Manual merges: #24812
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 13f5e391e42..964ef7ca520 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -68,12 +68,14 @@ explicit code point lists. [^inputformat] ## Special Unicode Productions The following productions in the Rust grammar are defined in terms of Unicode -properties: `ident`, `non_null`, `non_star`, `non_eol`, `non_slash_or_star`, -`non_single_quote` and `non_double_quote`. +properties: `ident`, `non_null`, `non_eol`, `non_single_quote` and `non_double_quote`. ### Identifiers -The `ident` production is any nonempty Unicode string of the following form: +The `ident` production is any nonempty Unicode[^non_ascii_idents] string of the following form: + +[^non_ascii_idents]: Non-ASCII characters in identifiers are currently feature + gated. This is expected to improve soon. - The first character has property `XID_start` - The remaining characters have property `XID_continue` @@ -90,8 +92,6 @@ Some productions are defined by exclusion of particular Unicode characters: - `non_null` is any single Unicode character aside from `U+0000` (null) - `non_eol` is `non_null` restricted to exclude `U+000A` (`'\n'`) -- `non_star` is `non_null` restricted to exclude `U+002A` (`*`) -- `non_slash_or_star` is `non_null` restricted to exclude `U+002F` (`/`) and `U+002A` (`*`) - `non_single_quote` is `non_null` restricted to exclude `U+0027` (`'`) - `non_double_quote` is `non_null` restricted to exclude `U+0022` (`"`) @@ -1977,7 +1977,7 @@ For any lint check `C`: The lint checks supported by the compiler can be found via `rustc -W help`, along with their default settings. [Compiler -plugins](book/plugins.html#lint-plugins) can provide additional lint checks. +plugins](book/compiler-plugins.html#lint-plugins) can provide additional lint checks. ```{.ignore} mod m1 { @@ -3647,4 +3647,4 @@ that have since been removed): pattern syntax [ffi]: book/ffi.html -[plugin]: book/plugins.html +[plugin]: book/compiler-plugins.html |
