From b66f858e8f7902ff9e293b10ce9439cb25d4ad6e Mon Sep 17 00:00:00 2001 From: Conrad Kleinespel Date: Sat, 25 Apr 2015 13:43:26 +0200 Subject: fix compiler plugins path in doc/reference.md --- src/doc/reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/doc/reference.md') diff --git a/src/doc/reference.md b/src/doc/reference.md index 059da891925..787f59948e2 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1976,7 +1976,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 { @@ -3646,4 +3646,4 @@ that have since been removed): pattern syntax [ffi]: book/ffi.html -[plugin]: book/plugins.html +[plugin]: book/compiler-plugins.html -- cgit 1.4.1-3-g733a5 From 702f17566c7f4decdc9cfb4f67a03fe5b10f6454 Mon Sep 17 00:00:00 2001 From: Robin Kruppe Date: Sat, 25 Apr 2015 14:37:18 +0200 Subject: Audit reference manual: 3.2 Special unicode productions Mention non_ascii_idents feature gate and remove unused productions --- src/doc/reference.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/doc/reference.md') diff --git a/src/doc/reference.md b/src/doc/reference.md index 2f7ec6a999e..73a817eded4 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -103,12 +103,14 @@ explicit codepoint 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` @@ -125,8 +127,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` (`"`) -- cgit 1.4.1-3-g733a5