diff options
| author | Brian Anderson <banderson@mozilla.com> | 2015-01-12 16:31:11 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2015-01-21 10:34:16 -0800 |
| commit | 90aa581cff54ed1bb5f53ee2ead3764fca94fdf3 (patch) | |
| tree | 2e2487396253ce6371325d9b35494108719cea99 /src/libsyntax/attr.rs | |
| parent | 6869645e86c91544b8737b89809bdf10bef536d9 (diff) | |
| download | rust-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.rs | 6 |
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 }; |
