File tree 9 files changed +8
-345
lines changed
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.
34
34
#[ deny( non_camel_case_types) ] ;
35
35
#[ deny( missing_doc) ] ;
36
36
37
- #[ cfg( stage0) ]
38
- macro_rules! if_ok (
39
- ( $e: expr) => ( match $e { Ok ( e) => e, Err ( e) => return Err ( e) } )
40
- )
41
-
42
37
// Utility modules
43
38
44
39
pub mod c_vec;
Original file line number Diff line number Diff line change @@ -54,11 +54,6 @@ use syntax::diagnostic::Emitter;
54
54
use syntax:: diagnostic;
55
55
use syntax:: parse;
56
56
57
- #[ cfg( stage0) ]
58
- macro_rules! if_ok (
59
- ( $e: expr) => ( match $e { Ok ( e) => e, Err ( e) => return Err ( e) } )
60
- )
61
-
62
57
pub mod middle {
63
58
pub mod trans;
64
59
pub mod ty;
Original file line number Diff line number Diff line change @@ -493,11 +493,6 @@ use util;
493
493
use vec:: ImmutableVector ;
494
494
use vec;
495
495
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
-
501
496
pub mod parse;
502
497
pub mod rt;
503
498
Original file line number Diff line number Diff line change @@ -446,15 +446,4 @@ impl<V:TyVisitor + MovePtr> TyVisitor for MovePtrAdaptor<V> {
446
446
if ! self . inner . visit_type ( ) { return false ; }
447
447
true
448
448
}
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
- }
460
449
}
Original file line number Diff line number Diff line change @@ -602,10 +602,6 @@ impl<'a> TyVisitor for ReprVisitor<'a> {
602
602
fn visit_param ( & mut self , _i : uint ) -> bool { true }
603
603
fn visit_self ( & mut self ) -> bool { true }
604
604
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 }
609
605
}
610
606
611
607
pub fn write_repr < T > ( writer : & mut io:: Writer , object : & T ) -> io:: IoResult < ( ) > {
You can’t perform that action at this time.
0 commit comments