@@ -702,7 +702,6 @@ pub fn integer_lit(s: &str, sd: &SpanHandler, sp: Span) -> ast::Lit_ {
702702mod test {
703703 use super :: * ;
704704 use serialize:: json;
705- use std:: gc:: GC ;
706705 use codemap:: { Span , BytePos , Spanned } ;
707706 use owned_slice:: OwnedSlice ;
708707 use ast;
@@ -711,6 +710,7 @@ mod test {
711710 use attr:: AttrMetaMethods ;
712711 use parse:: parser:: Parser ;
713712 use parse:: token:: { str_to_ident} ;
713+ use ptr:: P ;
714714 use util:: parser_testing:: { string_to_tts, string_to_parser} ;
715715 use util:: parser_testing:: { string_to_expr, string_to_item} ;
716716 use util:: parser_testing:: string_to_stmt;
@@ -1023,10 +1023,10 @@ mod test {
10231023 P ( ast:: Item { ident: str_to_ident( "a" ) ,
10241024 attrs: Vec :: new( ) ,
10251025 id: ast:: DUMMY_NODE_ID ,
1026- node: ast:: ItemFn ( ast :: P ( ast:: FnDecl {
1026+ node: ast:: ItemFn ( P ( ast:: FnDecl {
10271027 inputs: vec!( ast:: Arg {
1028- ty: ast :: P ( ast:: Ty { id: ast:: DUMMY_NODE_ID ,
1029- node: ast:: TyPath ( ast:: Path {
1028+ ty: P ( ast:: Ty { id: ast:: DUMMY_NODE_ID ,
1029+ node: ast:: TyPath ( ast:: Path {
10301030 span: sp( 10 , 13 ) ,
10311031 global: false ,
10321032 segments: vec!(
@@ -1053,9 +1053,9 @@ mod test {
10531053 } ) ,
10541054 id: ast:: DUMMY_NODE_ID
10551055 } ) ,
1056- output: ast :: P ( ast:: Ty { id: ast:: DUMMY_NODE_ID ,
1057- node: ast:: TyNil ,
1058- span: sp( 15 , 15 ) } ) , // not sure
1056+ output: P ( ast:: Ty { id: ast:: DUMMY_NODE_ID ,
1057+ node: ast:: TyNil ,
1058+ span: sp( 15 , 15 ) } ) , // not sure
10591059 cf: ast:: Return ,
10601060 variadic: false
10611061 } ) ,
@@ -1069,7 +1069,7 @@ mod test {
10691069 predicates: Vec :: new( ) ,
10701070 }
10711071 } ,
1072- ast :: P ( ast:: Block {
1072+ P ( ast:: Block {
10731073 view_items: Vec :: new( ) ,
10741074 stmts: vec!( P ( Spanned {
10751075 node: ast:: StmtSemi ( P ( ast:: Expr {
0 commit comments