about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-07-22 12:09:34 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-07-22 16:32:13 +0300
commit27b703dd409c875853394f9c7f8400cd34390088 (patch)
treea738280454e046e2123ca9edf22aabe7fa3f1877 /src/libsyntax
parent83dfe7b27cf2debecebedd3b038f9a1c2e05e051 (diff)
downloadrust-27b703dd409c875853394f9c7f8400cd34390088.tar.gz
rust-27b703dd409c875853394f9c7f8400cd34390088.zip
add rustc_private as a proper language feature gate
At the moment, `rustc_private` as a (library) feature exists by
accident: `char::is_xid_start`, `char::is_xid_continue` methods in
libcore define it.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 6a3f58ec89e..43f0eaae7c9 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -126,6 +126,9 @@ declare_features! (
 
     // no-tracking-issue-start
 
+    // Allows using compiler's own crates.
+    (active, rustc_private, "1.0.0", Some(27812), None),
+
     // Allows using the `rust-intrinsic`'s "ABI".
     (active, intrinsics, "1.0.0", None, None),