Make legal and un-XFAIL generic-fn-infer.rs (on both compilers).
This commit is contained in:
parent
58bf592dcc
commit
156e1b363f
@ -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 \
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user