aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/generic-tag-alt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/generic-tag-alt.rs b/src/test/run-pass/generic-tag-alt.rs
index 4f04e729..9b19eec7 100644
--- a/src/test/run-pass/generic-tag-alt.rs
+++ b/src/test/run-pass/generic-tag-alt.rs
@@ -2,7 +2,7 @@ tag foo[T] {
arm(T);
}
-fn altfoo[T](foo[T] f) {
+fn altfoo[T](&foo[T] f) {
auto hit = false;
alt (f) {
case (arm[T](?x)) {