about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-19 00:17:00 +0000
committerbors <bors@rust-lang.org>2015-03-19 00:17:00 +0000
commit12cb7c6a2847959460ecac75b2c983d071585472 (patch)
tree481e99dcf4197b0b25cd765877c1b132f768d772 /src/libsyntax/parse
parent94a95067e017252d4928a4292a6aeef66902e694 (diff)
parentfccf5a00056b1d72065951a4428070326df1cfb5 (diff)
downloadrust-12cb7c6a2847959460ecac75b2c983d071585472.tar.gz
rust-12cb7c6a2847959460ecac75b2c983d071585472.zip
Auto merge of #23482 - alexcrichton:snapshots, r=aturon
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index bf2b2c0afe6..ad2fa3d25a8 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -78,8 +78,6 @@ use owned_slice::OwnedSlice;
 use std::collections::HashSet;
 use std::io::prelude::*;
 use std::mem;
-#[cfg(stage0)]
-use std::num::Float;
 use std::path::{Path, PathBuf};
 use std::rc::Rc;
 use std::slice;
@@ -5809,12 +5807,6 @@ impl<'a> Parser<'a> {
         None
     }
 
-    // HACK(eddyb) staging required for `quote_item!`.
-    #[cfg(stage0)] // SNAP 270a677
-    pub fn parse_item_with_outer_attributes(&mut self) -> Option<P<Item>> {
-        self.parse_item()
-    }
-
     pub fn parse_item(&mut self) -> Option<P<Item>> {
         let attrs = self.parse_outer_attributes();
         self.parse_item_(attrs, true)