File tree 2 files changed +1
-14
lines changed
2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: e731520be5d43059b5b87ffc8e1b249e4a824a9a
2
+ refs/heads/master: eaf9df2dc311f6338a7549256bd0b893de687ffa
Original file line number Diff line number Diff line change @@ -1247,19 +1247,6 @@ impure fn trans_mod(@trans_ctxt cx, &ast._mod m) {
1247
1247
fn collect_item ( & @trans_ctxt cx , @ast. item i ) -> @trans_ctxt {
1248
1248
alt ( i. node ) {
1249
1249
case ( ast. item_fn ( ?name, ?f, ?fid, ?ann) ) {
1250
- auto fn_inputs;
1251
- auto fn_output;
1252
- alt ( typeck. ann_to_type ( ann) . struct ) {
1253
- case ( typeck. ty_fn ( ?ins, ?out) ) {
1254
- fn_inputs = ins;
1255
- fn_output = out;
1256
- }
1257
- case ( _) {
1258
- log "trans: fn item doesn't have function type!" ;
1259
- fail;
1260
- }
1261
- }
1262
-
1263
1250
cx. items . insert ( fid, i) ;
1264
1251
auto llty = node_type ( cx, ann) ;
1265
1252
let str s = cx. names . next ( "_rust_fn" ) + "." + name;
You can’t perform that action at this time.
0 commit comments