summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-08-18 17:59:21 -0400
committerNiko Matsakis <niko@alum.mit.edu>2015-09-06 07:27:23 -0400
commit9bd35c07c2607b93bd889650f42aab4f9e4d5e58 (patch)
treebee81f8c86cc06c966083bf0f142105c507e0853 /src/libsyntax
parent0e764ec5ce24be6d6306188673b05f8d9b4f81e5 (diff)
downloadrust-9bd35c07c2607b93bd889650f42aab4f9e4d5e58.tar.gz
rust-9bd35c07c2607b93bd889650f42aab4f9e4d5e58.zip
add MIR code (unused thus far)
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 0c0c68c89a1..1cc2eaa6278 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -272,13 +272,20 @@ pub const KNOWN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGat
                                        feature")),
     ("rustc_variance", Normal, Gated("rustc_attrs",
                                      "the `#[rustc_variance]` attribute \
-                                      is an experimental feature")),
+                                      is just used for rustc unit tests \
+                                      and will never be stable")),
     ("rustc_error", Whitelisted, Gated("rustc_attrs",
                                        "the `#[rustc_error]` attribute \
-                                        is an experimental feature")),
+                                        is just used for rustc unit tests \
+                                        and will never be stable")),
     ("rustc_move_fragments", Normal, Gated("rustc_attrs",
                                            "the `#[rustc_move_fragments]` attribute \
-                                            is an experimental feature")),
+                                            is just used for rustc unit tests \
+                                            and will never be stable")),
+    ("rustc_mir", Normal, Gated("rustc_attrs",
+                                "the `#[rustc_mir]` attribute \
+                                 is just used for rustc unit tests \
+                                 and will never be stable")),
 
     ("allow_internal_unstable", Normal, Gated("allow_internal_unstable",
                                               EXPLAIN_ALLOW_INTERNAL_UNSTABLE)),