about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-01-15 08:42:33 +0100
committerest31 <MTest31@outlook.com>2017-01-24 23:22:44 +0100
commitaf46d69b8a3d553a4d33e0c9d296b845c404e499 (patch)
tree0bcc8cf3d76840a42ded07c770413060b1d4d461 /src/libsyntax
parentd2d8ae6575281e92a58899fb8f8c51fc8f84de04 (diff)
downloadrust-af46d69b8a3d553a4d33e0c9d296b845c404e499.tar.gz
rust-af46d69b8a3d553a4d33e0c9d296b845c404e499.zip
Remove Reflect
* Remove the Reflect trait
* Remove the "reflect" lang feature
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index c25020caf85..83cd7e2fc18 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -124,7 +124,6 @@ declare_features! (
     (active, advanced_slice_patterns, "1.0.0", Some(23121)),
     (active, box_syntax, "1.0.0", Some(27779)),
     (active, placement_in_syntax, "1.0.0", Some(27779)),
-    (active, reflect, "1.0.0", Some(27749)),
     (active, unboxed_closures, "1.0.0", Some(29625)),
 
     (active, allocator, "1.0.0", Some(27389)),
@@ -334,6 +333,7 @@ declare_features! (
     (removed, managed_boxes, "1.0.0", None),
     // Allows use of unary negate on unsigned integers, e.g. -e for e: u8
     (removed, negate_unsigned, "1.0.0", Some(29645)),
+    (removed, reflect, "1.0.0", Some(27749)),
     // A way to temporarily opt out of opt in copy. This will *never* be accepted.
     (removed, opt_out_copy, "1.0.0", None),
     (removed, quad_precision_float, "1.0.0", None),
@@ -731,10 +731,6 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
                                         "unboxed_closures",
                                         "unboxed_closures are still evolving",
                                         cfg_fn!(unboxed_closures))),
-    ("rustc_reflect_like", Whitelisted, Gated(Stability::Unstable,
-                                              "reflect",
-                                              "defining reflective traits is still evolving",
-                                              cfg_fn!(reflect))),
 
     ("windows_subsystem", Whitelisted, Gated(Stability::Unstable,
                                              "windows_subsystem",