Skip to content

Commit 9502fb9

Browse files
committed
Fix bug in vtable resolution
1 parent bc3f5e7 commit 9502fb9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rustc/middle/typeck.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3625,8 +3625,6 @@ mod vtable {
36253625
_ {}
36263626
}
36273627
}
3628-
ast::expr_fn(p, _, _, _) if ast::is_blockish(p) {}
3629-
ast::expr_fn(_, _, _, _) { ret; }
36303628
_ {}
36313629
}
36323630
visit::visit_expr(ex, fcx, v);

0 commit comments

Comments
 (0)