diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-07-31 17:23:22 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-07-31 20:18:26 -0400 |
| commit | 4bad51585424cee9c97491c1aed7cf27a3cdcb68 (patch) | |
| tree | 15fe5bdb4a205fcc15cd14b7bc9f608b872d27a0 /src/libsyntax/parse/obsolete.rs | |
| parent | e07e49ea8fa0c0666a1b59ff1238f995ce84722c (diff) | |
rm ancient error for lowercase kinds
3 of these kinds no longer even exist in the CamelCase form
Diffstat (limited to 'src/libsyntax/parse/obsolete.rs')
| -rw-r--r-- | src/libsyntax/parse/obsolete.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/parse/obsolete.rs b/src/libsyntax/parse/obsolete.rs index 7e0081bdb68..3472b9f1d67 100644 --- a/src/libsyntax/parse/obsolete.rs +++ b/src/libsyntax/parse/obsolete.rs @@ -30,7 +30,6 @@ use std::to_bytes; /// The specific types of unsupported syntax #[deriving(Eq)] pub enum ObsoleteSyntax { - ObsoleteLowerCaseKindBounds, ObsoleteLet, ObsoleteFieldTerminator, ObsoleteStructCtor, @@ -96,12 +95,6 @@ impl ParserObsoleteMethods for Parser { /// Reports an obsolete syntax non-fatal error. pub fn obsolete(&self, sp: span, kind: ObsoleteSyntax) { let (kind_str, desc) = match kind { - ObsoleteLowerCaseKindBounds => ( - "lower-case kind bounds", - "the `send`, `copy`, `const`, and `owned` \ - kinds are represented as traits now, and \ - should be camel cased" - ), ObsoleteLet => ( "`let` in field declaration", "declare fields as `field: Type`" |
