Skip to content

Commit 7113a2c

Browse files
committed
remove dead code
1 parent 4eb71c0 commit 7113a2c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/rustc/middle/typeck.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,16 +1299,6 @@ fn replace_self_region(tcx: ty::ctxt, with_region: ty::region,
12991299
}
13001300
}
13011301

1302-
fn instantiate_bound_regions(tcx: ty::ctxt, region: ty::region, &&ty: ty::t)
1303-
-> ty::t {
1304-
ty::fold_region(tcx, ty) {|r, _under_rptr|
1305-
alt r {
1306-
ty::re_bound(_) { region }
1307-
_ { r }
1308-
}
1309-
}
1310-
}
1311-
13121302
// Item collection - a pair of bootstrap passes:
13131303
//
13141304
// (1) Collect the IDs of all type items (typedefs) and store them in a table.

0 commit comments

Comments
 (0)