about summary refs log tree commit diff
path: root/src/libsyntax/attr.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-12 16:31:11 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-21 10:34:16 -0800
commit90aa581cff54ed1bb5f53ee2ead3764fca94fdf3 (patch)
tree2e2487396253ce6371325d9b35494108719cea99 /src/libsyntax/attr.rs
parent6869645e86c91544b8737b89809bdf10bef536d9 (diff)
downloadrust-90aa581cff54ed1bb5f53ee2ead3764fca94fdf3.tar.gz
rust-90aa581cff54ed1bb5f53ee2ead3764fca94fdf3.zip
Remove unused stability levels from compiler
Diffstat (limited to 'src/libsyntax/attr.rs')
-rw-r--r--src/libsyntax/attr.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs
index 6f57c06d33e..74d7ddc21c3 100644
--- a/src/libsyntax/attr.rs
+++ b/src/libsyntax/attr.rs
@@ -351,11 +351,8 @@ pub struct Stability {
 #[derive(RustcEncodable,RustcDecodable,PartialEq,PartialOrd,Clone,Show,Copy)]
 pub enum StabilityLevel {
     Deprecated,
-    Experimental,
     Unstable,
     Stable,
-    Frozen,
-    Locked
 }
 
 impl fmt::String for StabilityLevel {
@@ -372,11 +369,8 @@ pub fn find_stability_generic<'a,
     for attr in attrs {
         let level = match attr.name().get() {
             "deprecated" => Deprecated,
-            "experimental" => Experimental,
             "unstable" => Unstable,
             "stable" => Stable,
-            "frozen" => Frozen,
-            "locked" => Locked,
             _ => continue // not a stability level
         };