Skip to content

Commit ff15a93

Browse files
committed
rustc: Make test/run-pass/generic-tag-alt.rs valid Rust; it was passing a dynamically-sized value by value instead of by alias
1 parent 603d820 commit ff15a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/generic-tag-alt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ tag foo[T] {
22
arm(T);
33
}
44

5-
fn altfoo[T](foo[T] f) {
5+
fn altfoo[T](&foo[T] f) {
66
auto hit = false;
77
alt (f) {
88
case (arm[T](?x)) {

0 commit comments

Comments
 (0)