about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2018-08-09 23:50:04 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2018-08-14 01:18:05 +0300
commit5218a5cf356b65e8fc1014cdf0e299c6c2ab6e01 (patch)
tree2f35a39e7d6f03779b9f9278bd071ede362b998b /src/libsyntax
parentd5a448b3f47b22c9cb010198bdcc49d4392b090b (diff)
downloadrust-5218a5cf356b65e8fc1014cdf0e299c6c2ab6e01.tar.gz
rust-5218a5cf356b65e8fc1014cdf0e299c6c2ab6e01.zip
syntax: add `uniform_paths` feature-gate.
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 b779b2eb689..56e69b9df9e 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -507,6 +507,9 @@ declare_features! (
 
     // Support for arbitrary delimited token streams in non-macro attributes.
     (active, unrestricted_attribute_tokens, "1.30.0", Some(44690), None),
+
+    // Allows `use x::y;` to resolve through `self::x`, not just `::x`.
+    (active, uniform_paths, "1.30.0", Some(53130), None),
 );
 
 declare_features! (