Make legal and un-XFAIL generic-fn-infer.rs (on both compilers).

This commit is contained in:
Graydon Hoare 2011-01-17 16:03:38 -08:00
parent 58bf592dcc
commit 156e1b363f
2 changed files with 2 additions and 2 deletions

View File

@ -391,7 +391,6 @@ TEST_XFAILS_BOOT := $(TASK_XFAILS) \
test/run-pass/obj-as.rs \
test/run-pass/vec-slice.rs \
test/run-pass/fn-lval.rs \
test/run-pass/generic-fn-infer.rs \
test/run-pass/generic-recursive-tag.rs \
test/run-pass/iter-ret.rs \
test/run-pass/lib-io.rs \
@ -439,6 +438,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
drop-bind-thunk-args.rs \
drop-on-ret.rs \
fact.rs \
generic-fn-infer.rs \
hello.rs \
int.rs \
i32-sub.rs \

View File

@ -2,7 +2,7 @@
// Issue #45: infer type parameters in function applications
fn id[T](T x) -> T {
fn id[T](&T x) -> T {
ret x;
}