File tree Expand file tree Collapse file tree 9 files changed +8
-345
lines changed Expand file tree Collapse file tree 9 files changed +8
-345
lines changed Original file line number Diff line number Diff 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
4439pub mod c_vec;
Original file line number Diff line number Diff line change @@ -54,11 +54,6 @@ use syntax::diagnostic::Emitter;
5454use syntax:: diagnostic;
5555use 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-
6257pub mod middle {
6358 pub mod trans;
6459 pub mod ty;
Original file line number Diff line number Diff line change @@ -493,11 +493,6 @@ use util;
493493use vec:: ImmutableVector ;
494494use 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-
501496pub mod parse;
502497pub mod rt;
503498
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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
611607pub fn write_repr < T > ( writer : & mut io:: Writer , object : & T ) -> io:: IoResult < ( ) > {
You can’t perform that action at this time.
0 commit comments