about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-10 09:56:34 -0700
committerbors <bors@rust-lang.org>2014-05-10 09:56:34 -0700
commit1001635dc1be7ee7c42800e7e2e537a811280c8a (patch)
treed29a4504c7cb986152674b27a57529e8ebe431d9 /src/libsyntax/parse
parente850316408bbe6254305cf4aa7c65381dc475192 (diff)
parent3f5e3af8387deb68e116228562062384d4b9cf65 (diff)
downloadrust-1001635dc1be7ee7c42800e7e2e537a811280c8a.tar.gz
rust-1001635dc1be7ee7c42800e7e2e537a811280c8a.zip
auto merge of #14073 : alexcrichton/rust/snapshots, r=huonw
Diffstat (limited to 'src/libsyntax/parse')
-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 {