Skip to content

Register new snapshots #12026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/libextra/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ Rust extras are part of the standard Rust distribution.
#[deny(non_camel_case_types)];
#[deny(missing_doc)];

#[cfg(stage0)]
macro_rules! if_ok (
($e:expr) => (match $e { Ok(e) => e, Err(e) => return Err(e) })
)

// Utility modules

pub mod c_vec;
Expand Down
5 changes: 0 additions & 5 deletions src/librustc/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ use syntax::diagnostic::Emitter;
use syntax::diagnostic;
use syntax::parse;

#[cfg(stage0)]
macro_rules! if_ok (
($e:expr) => (match $e { Ok(e) => e, Err(e) => return Err(e) })
)

pub mod middle {
pub mod trans;
pub mod ty;
Expand Down
5 changes: 0 additions & 5 deletions src/libstd/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,6 @@ use util;
use vec::ImmutableVector;
use vec;

// NOTE this is just because the `prelude::*` import above includes
// default::Default, so the reexport doesn't work.
#[cfg(stage0)]
pub use Default = fmt::Show; // export required for `format!()` etc.

pub mod parse;
pub mod rt;

Expand Down
11 changes: 0 additions & 11 deletions src/libstd/reflect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,15 +446,4 @@ impl<V:TyVisitor + MovePtr> TyVisitor for MovePtrAdaptor<V> {
if ! self.inner.visit_type() { return false; }
true
}

// NOTE remove after next snapshot
#[cfg(stage0)]
fn visit_closure_ptr(&mut self, ck: uint) -> bool {
self.align_to::<proc()>();
if ! self.inner.visit_closure_ptr(ck) {
return false
}
self.bump_past::<proc()>();
true
}
}
4 changes: 0 additions & 4 deletions src/libstd/repr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,10 +602,6 @@ impl<'a> TyVisitor for ReprVisitor<'a> {
fn visit_param(&mut self, _i: uint) -> bool { true }
fn visit_self(&mut self) -> bool { true }
fn visit_type(&mut self) -> bool { true }

// NOTE remove after next snapshot
#[cfg(stage0)]
fn visit_closure_ptr(&mut self, _ck: uint) -> bool { true }
}

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