Skip to content

Commit a161371

Browse files
committed
Add fall-through case for non-iface bounds typeck::lookup_method
Closes #1462
1 parent 9a7061d commit a161371

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/middle/typeck.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,6 +1569,7 @@ fn lookup_method(fcx: @fn_ctxt, isc: resolve::iscopes,
15691569
}
15701570
bound_n += 1u;
15711571
}
1572+
_ {}
15721573
}
15731574
}
15741575
ret none;

0 commit comments

Comments
 (0)