We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 603d820 commit ff15a93Copy full SHA for ff15a93
src/test/run-pass/generic-tag-alt.rs
@@ -2,7 +2,7 @@ tag foo[T] {
2
arm(T);
3
}
4
5
-fn altfoo[T](foo[T] f) {
+fn altfoo[T](&foo[T] f) {
6
auto hit = false;
7
alt (f) {
8
case (arm[T](?x)) {
0 commit comments