We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58bf592 commit 156e1b3Copy full SHA for 156e1b3
src/Makefile
@@ -391,7 +391,6 @@ TEST_XFAILS_BOOT := $(TASK_XFAILS) \
391
test/run-pass/obj-as.rs \
392
test/run-pass/vec-slice.rs \
393
test/run-pass/fn-lval.rs \
394
- test/run-pass/generic-fn-infer.rs \
395
test/run-pass/generic-recursive-tag.rs \
396
test/run-pass/iter-ret.rs \
397
test/run-pass/lib-io.rs \
@@ -439,6 +438,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
439
438
drop-bind-thunk-args.rs \
440
drop-on-ret.rs \
441
fact.rs \
+ generic-fn-infer.rs \
442
hello.rs \
443
int.rs \
444
i32-sub.rs \
src/test/run-pass/generic-fn-infer.rs
@@ -2,7 +2,7 @@
2
3
// Issue #45: infer type parameters in function applications
4
5
-fn id[T](T x) -> T {
+fn id[T](&T x) -> T {
6
ret x;
7
}
8
0 commit comments