Skip to content

Commit ab1562b

Browse files
committed
---
yaml --- r: 11171 b: refs/heads/master c: 107f827 h: refs/heads/master i: 11169: 8c51237 11167: e7ca836 v: v3
1 parent 9f9c5f1 commit ab1562b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 74d4e2a32ed28bf2272b1ba3246246557ec6d987
2+
refs/heads/master: 107f827b537a4c3b2a44993085609497a1871928
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/comp/middle/typeck.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ fn lookup_method(fcx: @fn_ctxt, expr: @ast::expr, node_id: ast::node_id,
15901590
let has_self = ty::type_has_params(fty);
15911591
if method_n_tps + n_tps > 0u {
15921592
if n_tys == 0u || n_tys != method_n_tps {
1593-
if n_tys != method_n_tps {
1593+
if n_tys != 0u {
15941594
tcx.sess.span_err
15951595
(expr.span, "incorrect number of type \
15961596
parameters given for this method");

0 commit comments

Comments
 (0)