Skip to content

Commit 78f3343

Browse files
committed
libstd: Fix merge fallout.
1 parent 2c6dae0 commit 78f3343

File tree

3 files changed

+14
-18
lines changed

3 files changed

+14
-18
lines changed

src/libstd/net_ip.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ pub mod v4 {
152152
use uv_ip4_name = uv::ll::ip4_name;
153153
154154
use core::cast::transmute;
155-
use core::ptr;
156155
use core::result;
157156
use core::str;
158157
use core::uint;

src/libstd/priority_queue.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//! A priority queue implemented with a binary heap
1212
1313
use core::old_iter::BaseIter;
14-
use core::ptr::addr_of;
1514

1615
#[abi = "rust-intrinsic"]
1716
extern "rust-intrinsic" mod rusti {

src/libsyntax/parse/mod.rs

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -569,19 +569,18 @@ mod test {
569569
let parser = string_to_parser(@~"b : int");
570570
assert_eq!(parser.parse_arg_general(true),
571571
ast::arg{
572-
mode: ast::infer(1),
573572
is_mutbl: false,
574-
ty: @ast::Ty{id:4, // fixme
573+
ty: @ast::Ty{id:3, // fixme
575574
node: ast::ty_path(@ast::Path{
576575
span:sp(4,4), // this is bizarre...
577576
// check this in the original parser?
578577
global:false,
579578
idents:~[mk_ident(105)],
580579
rp: None,
581580
types: ~[]},
582-
3),
581+
2),
583582
span:sp(4,7)},
584-
pat: @ast::pat{id:2,
583+
pat: @ast::pat{id:1,
585584
node: ast::pat_ident(ast::bind_by_copy,
586585
@ast::Path{
587586
span:sp(0,1),
@@ -592,7 +591,7 @@ mod test {
592591
None // no idea
593592
),
594593
span: sp(0,3)}, // really?
595-
id: 5 // fixme
594+
id: 4 // fixme
596595
})
597596
}
598597
@@ -604,21 +603,20 @@ mod test {
604603
Some(
605604
@ast::item{ident:mk_ident(100),
606605
attrs:~[],
607-
id: 11, // fixme
606+
id: 10, // fixme
608607
node: ast::item_fn(ast::fn_decl{
609608
inputs: ~[ast::arg{
610-
mode: ast::infer(1),
611609
is_mutbl: false,
612-
ty: @ast::Ty{id:4, // fixme
610+
ty: @ast::Ty{id:3, // fixme
613611
node: ast::ty_path(@ast::Path{
614612
span:sp(10,13),
615613
global:false,
616614
idents:~[mk_ident(106)],
617615
rp: None,
618616
types: ~[]},
619-
3),
617+
2),
620618
span:sp(10,13)},
621-
pat: @ast::pat{id:2, // fixme
619+
pat: @ast::pat{id:1, // fixme
622620
node: ast::pat_ident(
623621
ast::bind_by_copy,
624622
@ast::Path{
@@ -630,9 +628,9 @@ mod test {
630628
None // no idea
631629
),
632630
span: sp(6,9)}, // bleah.
633-
id: 5 // fixme
631+
id: 4 // fixme
634632
}],
635-
output: @ast::Ty{id:6, // fixme
633+
output: @ast::Ty{id:5, // fixme
636634
node: ast::ty_nil,
637635
span:sp(15,15)}, // not sure
638636
cf: ast::return_val
@@ -649,8 +647,8 @@ mod test {
649647
view_items: ~[],
650648
stmts: ~[@spanned{
651649
node: ast::stmt_semi(@ast::expr{
652-
id: 7,
653-
callee_id: 8,
650+
id: 6,
651+
callee_id: 7,
654652
node: ast::expr_path(
655653
@ast::Path{
656654
span:sp(17,18),
@@ -659,10 +657,10 @@ mod test {
659657
rp:None,
660658
types: ~[]}),
661659
span: sp(17,18)},
662-
9), // fixme
660+
8), // fixme
663661
span: sp(17,18)}],
664662
expr: None,
665-
id: 10, // fixme
663+
id: 9, // fixme
666664
rules: ast::default_blk // no idea
667665
}}),
668666
vis: ast::inherited,

0 commit comments

Comments
 (0)