]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/feature_gate.rs
Add a testing mechanism and a simple spike test
[rust.git] / src / libsyntax / feature_gate.rs
index 27485ee65fcc037640e5309d2534d583e47e91da..f80f25a2e776d7c1521233542715417c33ed004b 100644 (file)
@@ -481,6 +481,16 @@ fn f(features: &Features) -> bool {
                                         is just used for rustc unit tests \
                                         and will never be stable",
                                        cfg_fn!(rustc_attrs))),
+    ("rustc_partition_reused", Whitelisted, Gated("rustc_attrs",
+                                                  "this attribute \
+                                                   is just used for rustc unit tests \
+                                                   and will never be stable",
+                                                  cfg_fn!(rustc_attrs))),
+    ("rustc_partition_translated", Whitelisted, Gated("rustc_attrs",
+                                                      "this attribute \
+                                                       is just used for rustc unit tests \
+                                                       and will never be stable",
+                                                      cfg_fn!(rustc_attrs))),
     ("rustc_symbol_name", Whitelisted, Gated("rustc_attrs",
                                              "internal rustc attributes will never be stable",
                                              cfg_fn!(rustc_attrs))),