]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/feature_gate.rs
rollup merge of #23948: nikomatsakis/feature-gate-rust-abi
[rust.git] / src / libsyntax / feature_gate.rs
index 024132e95827161446658ba05331cb6f47159f48..4c01cecc67ca2a0d0091ade31ee159e7700dea64 100644 (file)
@@ -91,6 +91,8 @@
     ("start", "1.0.0", Active),
     ("main", "1.0.0", Active),
 
+    ("fundamental", "1.0.0", Active),
+
     // Deprecate after snapshot
     // SNAP 5520801
     ("unsafe_destructor", "1.0.0", Active),
@@ -237,6 +239,10 @@ enum Status {
     ("allow_internal_unstable", Gated("allow_internal_unstable",
                                       EXPLAIN_ALLOW_INTERNAL_UNSTABLE)),
 
+    ("fundamental", Gated("fundamental",
+                          "the `#[fundamental]` attribute \
+                           is an experimental feature")),
+
     // FIXME: #14408 whitelist docs since rustdoc looks at them
     ("doc", Whitelisted),