about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-09 16:30:57 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-09 21:13:02 -0700
commit3f5e3af8387deb68e116228562062384d4b9cf65 (patch)
tree05de08f24df153aeca9ae620a9e8d8deb28fa768 /src/libsyntax/parse/parser.rs
parent66f4f558cbe1df6a3ceff6c58ed7d994bed17cd5 (diff)
downloadrust-3f5e3af8387deb68e116228562062384d4b9cf65.tar.gz
rust-3f5e3af8387deb68e116228562062384d4b9cf65.zip
Register new snapshots
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 8f3b77dd58c..46a8960c3be 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -907,12 +907,6 @@ impl<'a> Parser<'a> {
             abi::Rust
         };
 
-        // NOTE: remove after a stage0 snapshot
-        let fn_style = match self.parse_unsafety() {
-            UnsafeFn => UnsafeFn,
-            NormalFn => fn_style,
-        };
-
         self.expect_keyword(keywords::Fn);
         let (decl, lifetimes) = self.parse_ty_fn_decl(true);
         return TyBareFn(@BareFnTy {