Skip to content

Commit efcf857

Browse files
committed
rustc: Remove comment dating back to the rustboot days from typeck
1 parent c7ca08d commit efcf857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/middle/typeck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ fn check_expr(&@fn_ctxt fcx, &@ast::expr expr) {
19321932
check_call(fcx, expr.span, f, args);
19331933

19341934
// Pull the return type out of the type of the function.
1935-
auto rt_1; // = ty::mk_nil(fcx.ccx.tcx); // FIXME: typestate botch
1935+
auto rt_1;
19361936
auto fty = ty::expr_ty(fcx.ccx.tcx, f);
19371937
alt (structure_of(fcx, expr.span, fty)) {
19381938
case (ty::ty_fn(_,_,?rt,_, _)) { rt_1 = rt; }

0 commit comments

Comments
 (0)