Skip to content

Commit ef53b7a

Browse files
committed
auto merge of #12026 : alexcrichton/rust/snapshots, r=cmr
2 parents cdc6789 + 6c41192 commit ef53b7a

File tree

9 files changed

+8
-345
lines changed

9 files changed

+8
-345
lines changed

src/libextra/lib.rs

-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ Rust extras are part of the standard Rust distribution.
3434
#[deny(non_camel_case_types)];
3535
#[deny(missing_doc)];
3636

37-
#[cfg(stage0)]
38-
macro_rules! if_ok (
39-
($e:expr) => (match $e { Ok(e) => e, Err(e) => return Err(e) })
40-
)
41-
4237
// Utility modules
4338

4439
pub mod c_vec;

src/librustc/lib.rs

-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ use syntax::diagnostic::Emitter;
5454
use syntax::diagnostic;
5555
use syntax::parse;
5656

57-
#[cfg(stage0)]
58-
macro_rules! if_ok (
59-
($e:expr) => (match $e { Ok(e) => e, Err(e) => return Err(e) })
60-
)
61-
6257
pub mod middle {
6358
pub mod trans;
6459
pub mod ty;

src/libstd/fmt/mod.rs

-5
Original file line numberDiff line numberDiff line change
@@ -493,11 +493,6 @@ use util;
493493
use vec::ImmutableVector;
494494
use vec;
495495

496-
// NOTE this is just because the `prelude::*` import above includes
497-
// default::Default, so the reexport doesn't work.
498-
#[cfg(stage0)]
499-
pub use Default = fmt::Show; // export required for `format!()` etc.
500-
501496
pub mod parse;
502497
pub mod rt;
503498

src/libstd/reflect.rs

-11
Original file line numberDiff line numberDiff line change
@@ -446,15 +446,4 @@ impl<V:TyVisitor + MovePtr> TyVisitor for MovePtrAdaptor<V> {
446446
if ! self.inner.visit_type() { return false; }
447447
true
448448
}
449-
450-
// NOTE remove after next snapshot
451-
#[cfg(stage0)]
452-
fn visit_closure_ptr(&mut self, ck: uint) -> bool {
453-
self.align_to::<proc()>();
454-
if ! self.inner.visit_closure_ptr(ck) {
455-
return false
456-
}
457-
self.bump_past::<proc()>();
458-
true
459-
}
460449
}

src/libstd/repr.rs

-4
Original file line numberDiff line numberDiff line change
@@ -602,10 +602,6 @@ impl<'a> TyVisitor for ReprVisitor<'a> {
602602
fn visit_param(&mut self, _i: uint) -> bool { true }
603603
fn visit_self(&mut self) -> bool { true }
604604
fn visit_type(&mut self) -> bool { true }
605-
606-
// NOTE remove after next snapshot
607-
#[cfg(stage0)]
608-
fn visit_closure_ptr(&mut self, _ck: uint) -> bool { true }
609605
}
610606

611607
pub fn write_repr<T>(writer: &mut io::Writer, object: &T) -> io::IoResult<()> {

0 commit comments

Comments
 (0)