Skip to content

Commit 258d866

Browse files
committed
---
yaml --- r: 1255 b: refs/heads/master c: 156e1b3 h: refs/heads/master i: 1253: 7dce76d 1251: 45a2b89 1247: 4a7b24e v: v3
1 parent 5d833dd commit 258d866

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 58bf592dcc14a6b7c9609536f2094c3de135f337
2+
refs/heads/master: 156e1b363fb7058c7bd734c5664b8f467b1afcd5

trunk/src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ TEST_XFAILS_BOOT := $(TASK_XFAILS) \
391391
test/run-pass/obj-as.rs \
392392
test/run-pass/vec-slice.rs \
393393
test/run-pass/fn-lval.rs \
394-
test/run-pass/generic-fn-infer.rs \
395394
test/run-pass/generic-recursive-tag.rs \
396395
test/run-pass/iter-ret.rs \
397396
test/run-pass/lib-io.rs \
@@ -439,6 +438,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
439438
drop-bind-thunk-args.rs \
440439
drop-on-ret.rs \
441440
fact.rs \
441+
generic-fn-infer.rs \
442442
hello.rs \
443443
int.rs \
444444
i32-sub.rs \

trunk/src/test/run-pass/generic-fn-infer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Issue #45: infer type parameters in function applications
44

5-
fn id[T](T x) -> T {
5+
fn id[T](&T x) -> T {
66
ret x;
77
}
88

0 commit comments

Comments
 (0)