about summary refs log tree commit diff
path: root/src/libsyntax/parse/attr.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-14 11:03:34 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-15 23:30:24 -0700
commit89b0e6e12ba2fb24ec0e6655a1130c16eb8d1745 (patch)
tree842308cfd38935989d625db41ffdd22758f8acdb /src/libsyntax/parse/attr.rs
parent6d8342f5e9f7093694548e761ee7df4f55243f3f (diff)
downloadrust-89b0e6e12ba2fb24ec0e6655a1130c16eb8d1745.tar.gz
rust-89b0e6e12ba2fb24ec0e6655a1130c16eb8d1745.zip
Register new snapshots
Diffstat (limited to 'src/libsyntax/parse/attr.rs')
-rw-r--r--src/libsyntax/parse/attr.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/parse/attr.rs b/src/libsyntax/parse/attr.rs
index f48ddf4417b..e47080dadfd 100644
--- a/src/libsyntax/parse/attr.rs
+++ b/src/libsyntax/parse/attr.rs
@@ -90,13 +90,6 @@ impl<'a> ParserAttr for Parser<'a> {
                 let hi = self.span.hi;
                 (mk_sp(lo, hi), meta_item, style)
             }
-            #[cfg(stage0)]
-            _ => {
-                let token_str = self.this_token_to_str();
-                self.fatal(format!("expected `\\#` but found `{}`",
-                                   token_str).as_slice());
-            }
-            #[cfg(not(stage0))]
             _ => {
                 let token_str = self.this_token_to_str();
                 self.fatal(format!("expected `#` but found `{}`",